Expected to find instance pin block but got "="
Expected to find end of instance but got ""user_project_core_lambdasoc""
line number 3 = '(* \amaranth.hierarchy = "user_project_core_lambdasoc" *)'
Warning: Cell (* has no pins
Creating placeholder cell definition for module (*.
Note: Implicit pin (no pins) in instance \amaranth.hierarchy of (* in cell user_project_core_lambdasoc.v
Expected to find instance pin block but got "top"
Expected to find end of instance but got "="
line number 4 = '(* top = 1 *)'
Warning: Cell *) has no pins
Creating placeholder cell definition for module *).
Note: Implicit pin (no pins) in instance (* of *) in cell user_project_core_lambdasoc.v
Expected to find instance pin block but got "(*"
Expected to find end of instance but got "generator"
...
Removing the attributes. Uncovers another problem.
Badly formed subcircuit pin line at "[0]"
Expected to find end of instance but got ")"
line number 54517 = ' );'
Error: Verilog backslash-escaped name does not end with a space.
There is a variable with 2 \ that seems to be causing a problem. Changing \$\soc to \$soc solves the problem. Maybe netgen does not process \ inside escaped variables (variables that start with \) correctly.
Netgen 1.5.253
Sky130 MPW-4 Slot-029 coriolis_testsoc-_mpw4
(* ... *)
denotes attributes in verilog that various tools can use as needed. In netgen, they should probably be treated as comments. This verilogyields
Removing the attributes. Uncovers another problem.
Looking at line 54517
There is a variable with 2
\
that seems to be causing a problem. Changing\$\soc
to\$soc
solves the problem. Maybe netgen does not process\
inside escaped variables (variables that start with\
) correctly.test_netgen.tgz
To reproduce:
Note:
vdd
andvss
instance connections have been added to the original verilog files.