add support for simulator-only values #35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "programmerjake/fayalite:sim-non-hdl-data"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes: libre-chip/grant-tracking#7
This adds a new
SimOnly<T>
HDL type and the correspondingSimOnlyValue<T>
value, you can put just about any arbitrary type inside (it needs to support a few traits and [de]serialization to JSON) and the simulator will feed the values through the simulation, so you can have modules that have inputs and outputs that areBTreeMap<String, Vec<Option<u32>>>
if you like.See the test
test_sim_only_connects
for an example. Here's the generated.vcd
file.9dd3b7e7e4
to9334dff776
9334dff776
todb9b1c202c
WIP: add support for simulator-only valuesto add support for simulator-only values