Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Testbenches #6

Open
akaeba opened this issue Jan 9, 2020 · 2 comments
Open

Testbenches #6

akaeba opened this issue Jan 9, 2020 · 2 comments

Comments

@akaeba
Copy link

akaeba commented Jan 9, 2020

Hi Stephan,

really great work with this MSP430 implementation!
On the repo I found only one simple testbench. Are there more advacned TBs also available?

Thanks in advance.

Best Regards,
Andreas

@stnolting
Copy link
Owner

Hey Andreas,
sorry for the delay...

Unfortunately, there is no more sophisticated testbench available yet.

I was thinking about a self-checking TB to verify the correct execution of instructions, but I dropped that for now.
Are there features you would suggest for a more complex TB?

@hackfin
Copy link

hackfin commented Feb 12, 2020

Are there features you would suggest for a more complex TB?

A very powerful feature would be in circuit emulation through a test access port (TAP). Needs only a little enhancement for exception handling, then you can do all regress testing through the TAP, either in simulation or on real HW using JTAG. I've done the dance a few months ago to check a RISC-V for 'compliance', you'll find some examples in here: https://github.com/hackfin/MaSoCist/tree/opensource/test/virtual_riscv. It's GHDL/Docker powered and runs the 'CI' way on every commit. Likewise, there's a virtual_neo430 test, but it only checks for the UART console output.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants