es-ude / elastic-ai.creator

elastic ai.creator
MIT License
16 stars 2 forks source link

Generate testbenches #315

Closed glencoe closed 1 year ago

glencoe commented 1 year ago

This PR introduces the first take on generating and simulating test benches for designs generated from software modules. The test bench results are parsed so we can compare them to the result of the software module. The goal is to make sure hw and sw behaviour match.

github-actions[bot] commented 1 year ago

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
2450 2132 87% 0% 🟢

New Files

File Coverage Status
elasticai/creator/nn/fixed_point/mac/_hw_test.py 33% 🟢
elasticai/creator/nn/fixed_point/mac/design.py 63% 🟢
elasticai/creator/nn/fixed_point/mac/number_conversion.py 88% 🟢
elasticai/creator/nn/fixed_point/mac/number_conversion_test.py 100% 🟢
elasticai/creator/nn/fixed_point/mac/sw_function.py 62% 🟢
elasticai/creator/nn/fixed_point/mac/testbench.py 42% 🟢
elasticai/creator/vhdl/_ghdl_report_parsing.py 100% 🟢
elasticai/creator/vhdl/_ghdl_report_parsing_test.py 100% 🟢
elasticai/creator/vhdl/ghdl_simulation.py 49% 🟢
TOTAL 71% 🟢

Modified Files

No covered modified files...

updated for commit: 8324d1a by action🐍