3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-07 09:55:20 +00:00
yosys/docs/source/code_examples/selections/sumprod.ys
Krystine Sherwin 22808e0e3f
Docs: work on selections.rst
Highlighting the difference between `select prod %ci` and `select prod %ci2` by
introducing `sumproud.out` using the `dump` command.

Playing around with advanced cone example code.
2024-01-26 17:29:59 +13:00

14 lines
388 B
Plaintext

read_verilog sumprod.v
prep -top sumprod
cd sumprod
show -format dot -prefix sumprod_00 a:sumstuff
show -format dot -prefix sumprod_01 a:sumstuff %x
show -format dot -prefix sumprod_02 prod
show -format dot -prefix sumprod_03 prod %ci
show -format dot -prefix sumprod_04 prod %ci2
show -format dot -prefix sumprod_05 prod %ci3
dump -o sumprod.out prod %ci
dump -a sumprod.out prod %ci2