File size: 2,314 Bytes
660c0b5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
# Running a simple combinatorial design
Tool: OpenDB
Subcategory: Module name mismatch
## Conversation
### Dandy201
Hi all, I'm new to using ORFS and tried some tutorials from https://github.com/The-OpenROAD-Project/micro2022tutorial.

Completing exercise 5 got this simple output:
.
From this, I'm trying to make a simple combinational circuit. Running make DESIGN_CONFIG=../../half_Adder/config.mk, it always ends at this error:
7. Executing Verilog-2005 frontend: /home/dan/Desktop/Work/vlsi/tools/OpenROAD-flow-scripts/flow/platforms/asap7/yoSys/cells_clkgate_R.v
Using ABC speed script.
[FLOW] Extracting clock period from SDC file: ./results/asap7/halfAdder/base/clock_period.txt
[FLOW] Setting clock period to 5
8. Executing SYNTH pass.
8.1. Executing HIERARCHY pass (managing design hierarchy).
**ERROR: TCL interpreter returned an error: Yosys command produced an error
Command exited with non-zero status 1
Elapsed time: 0:00.59[h:]min:sec. CPU time: user 0.56 sys 0.02 (99%). Peak memory: 72508KB.
make[1]: *** [Makefile:496: do-yosys] Error 1
make: *** [Makefile:499: results/asap7/halfAdder/base/1_1_yosys.v] Error 2.**
Config file

Constraint file

Verilog file

### maliberty
Please package this as a standalone test case and attach it. Reproducing it from screen shots is inefficient.
### Dandy201
[try.zip](https://github.com/user-attachments/files/15751707/try.zip)
Here's the zip file along with the command : make DESIGN_CONFIG=../../try/config.mk
### mi-and-core
(1) change module name from 'half_adder' to 'halfAdder'
### maliberty
In the config.mk
```
export DESIGN_NAME = halfAdder
```
while in halfAdder.v:
```
module half_adder(
```
These names need to match.
|