[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[f-cpu] C/VHDL code and fcpusim
- To: fm <f-cpu@seul.org>
- Subject: [f-cpu] C/VHDL code and fcpusim
- From: Yann Guidon <whygee@f-cpu.org>
- Date: Sat, 27 Jul 2002 07:19:49 +0200
- Delivered-To: archiver@seul.org
- Delivered-To: f-cpu-outgoing@seul.org
- Delivered-To: f-cpu@seul.org
- Delivery-Date: Sat, 27 Jul 2002 01:10:38 -0400
- Organization: http://www.f-cpu.org
- Reply-To: f-cpu@seul.org
- Sender: owner-f-cpu@seul.org
hi,
now that EU_ROP2 is working exactly the same
in C and VHDL, i'm now working on the register set.
Because i reuse several parts of the code for the
testbenches (particularly the viewing parts)
i am forced (more or less, but that's what i did anyway)
to do several modifications on the existing code :
- rewrite the *_view() to clear the syntax and
removing the g() and n(). One compromise would be
to use the form "%s" inside the string itself,
and we put the corresponding escape codes at the
end of the printf. I don't know yet where to put
the constant, so it is acessed both by fcpusim and
the testbenches, but a subfile from f-cpu_config.h
would be ok.
- i moved the contents of the registers_view.c to
registers.c, and adapted the .h accordingly.
both fcpusim and test_registers.c need it, so
a separate file is not justified.
- modified/corrected the runme.sh
Btw, i think that there are some race conditions in
the VHDL version of the register set. i'll correct that
and upload my snapshot (but not before tomorrow).
ok, time to sleep, have fun and be careful,
WHYGEE
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu in the body. http://f-cpu.seul.org/