Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Branch : Quicklogic : Error during generation of top_bit.v file #1428

Closed
rakeshm75 opened this issue Apr 17, 2020 · 1 comment
Closed

Branch : Quicklogic : Error during generation of top_bit.v file #1428

rakeshm75 opened this issue Apr 17, 2020 · 1 comment

Comments

@rakeshm75
Copy link

I am getting the following error when running counter_32bit-ql-chandalar_bit_v command:

Generating counter_32bit-ql-chandalar/ql-s3-ql-eos-s3-virt-ql-eos-s3-wlcsp/top_bit.v
Traceback (most recent call last):
File "/home/rakeshm/symbiflow-arch-defs/quicklogic/utils/fasm2bels.py", line 554, in
verilog, pcf, qcf = f2b.convert_to_verilog(fasmlines)
File "/home/rakeshm/symbiflow-arch-defs/quicklogic/utils/fasm2bels.py", line 489, in convert_to_verilog
verilog, pcf, qcf = self.produce_verilog()
File "/home/rakeshm/symbiflow-arch-defs/quicklogic/utils/fasm2bels.py", line 469, in produce_verilog
verilog = module.generate_verilog()
File "/home/rakeshm/symbiflow-arch-defs/quicklogic/utils/verilogmodule.py", line 357, in generate_verilog
eloc, element.type, element.name, element.ios
File "/home/rakeshm/symbiflow-arch-defs/quicklogic/utils/verilogmodule.py", line 106, in form_verilog_element
moduletype = self.qlal4s3bmapping[typ]
KeyError: 'SDIOMUX'
make[3]: *** [quicklogic/tests/quicklogic_testsuite/counter_32bit/counter_32bit-ql-chandalar/ql-s3-ql-eos-s3-virt-ql-eos-s3-wlcsp/top_bit.v] Error 1
make[2]: *** [quicklogic/tests/quicklogic_testsuite/counter_32bit/CMakeFiles/file_quicklogic_tests_quicklogic_testsuite_counter_32bit_counter_32bit-ql-chandalar_ql-s3-ql-eos-s3-virt-ql-eos-s3-wlcsp_top_bit.v.dir/all] Error 2
make[1]: *** [quicklogic/tests/quicklogic_testsuite/counter_32bit/CMakeFiles/counter_32bit-ql-chandalar_bit_v.dir/rule] Error 2
make: *** [quicklogic/tests/quicklogic_testsuite/counter_32bit/CMakeFiles/counter_32bit-ql-chandalar_bit_v.dir/rule] Error 2

counter_32bit.zip

@kgugala
Copy link
Contributor

kgugala commented Apr 21, 2020

this error does not happen anymore, but the SDIOMUXes require some more work. Right now fasm2bels connects FBIO pins to the ASSP, but not to IOs. This is because the IO connection does not emit any bits in the bitstream, and since fasm2bels operates on the bitstream it cannot guess the connection.

We'll add a special case here to force IOs generation.

@kgugala kgugala closed this as completed May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants