Help with Cryptech ECDSA #1179
Replies: 4 comments 1 reply
-
It seems siliconcompiler renames all the source files, therefore the included filename .vh does not exist in the input folder. cryptech_primitive_switch_8ce4f598d363339ddb88ac2b44f69e962c91bd3e.vh |
Beta Was this translation helpful? Give feedback.
-
I finally found example prim_fifo_sync, that has include files. chip.set('option','idir',` INC_DIR_LIST) |
Beta Was this translation helpful? Give feedback.
-
Preprocessing went through remotely, but stopped with this Error: INFO | job0 | import | 0 | Job is still running. (29173 seconds) gzip: stdin: not in gzip format |
Beta Was this translation helpful? Give feedback.
-
This has actually finally worked in remote mode, as I reported here: https://www.linkedin.com/feed/update/urn:li:activity:7044353070171869185?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7044353070171869185%2C7045769771736276992%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287045769771736276992%2Curn%3Ali%3Aactivity%3A7044353070171869185%29 |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am using cryptech ECDSA256 module to experiment with various EDA tools, including siliconcompiler and I am struggling to go forward with the flow.
I hope somebody can help me :-).
For convenience I have posted my work on the following repository
https://github.com/bat52/cryptech
Remote run :
cd pycryptech && export SCPATH=../siliconcompiler/siliconcompiler/ && ./ecdsa256_siliconcompiler.py --remote_en
Result: this particular library uses `include primitives within a module, which I am not sure is allowed by 'vanilla' verilog, yet it is somehow well digested by both icarus and verilator. It seems the included .vh files are not seen by the tool, even though I am sure they were specified as input with chip.set('input', 'verilog',[list_content])
[ERR:PP0101] /media/marco/DATA/programming/rtl/cryptech/pycryptech/build/ecdsa256_wrapper/job0/import/0/inputs/multiword_comparator_869ec59d2206b9da9e243a9625d67bb288b03e09.v:50: Cannot open include file "cryptech_primitive_switch.vh".
[ERR:PP0102] /media/marco/DATA/programming/rtl/cryptech/pycryptech/build/ecdsa256_wrapper/job0/import/0/inputs/multiword_comparator_869ec59d2206b9da9e243a9625d67bb288b03e09.v:172:5: Unknown macro "CRYPTECH_PRIMITIVE_SUB32".
Beta Was this translation helpful? Give feedback.
All reactions