Automatically deduction of TOPLEVEL_LANG doesn't work
See original GitHub issueHi. It is my first time using cocotb with Xcelium (always GHDL or iverilog). Has far I understand it must work, but fail.
- the cocotb version used: 1.5.2
- the operating system and version: Centos7, 64 bits
- the simulator and version: Xcelium (19.09), 64 bits
- the Python version, and where it’s coming from: 3.7.0 (pyenv)
Log:
/.../.pyenv/versions/3.7.0/lib/python3.7/site-packages/cocotb/share/makefiles/simulators/Makefile.xcelium:103: *** "A valid value (verilog or vhdl) was not provided for TOPLEVEL_LANG=". Stop.
Makefile
#TOPLEVEL_LANG=verilog
VERILOG_SOURCES += ../vlog/counter.v
TOPLEVEL = counter
MODULE = counter
include $(shell cocotb-config --makefiles)/Makefile.sim
clean::
@rm -fr __pycache__ *.vcd *.xml
I need to uncomment TOPLEVEL_LANG. to avoid this.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Driving Down Taxes: Auto-Related Tax Deductions - TurboTax
Knowing all of the auto-related deductions can ensure that your automobile is working as hard for you as you are for your paycheck....
Read more >Topic No. 551 Standard Deduction | Internal Revenue Service
The standard deduction is a specific dollar amount that reduces the amount of income on which you're taxed. Your standard deduction consists ...
Read more >How to Claim the Standard Mileage Deduction – Get It Back
The most important tax deduction for rideshare drivers is the mileage ... Both apps work by using the location on your phone to...
Read more >What are Payroll Deductions? | Pre-Tax & Post-Tax ... - ADP
1. Adjust gross pay by withholding pre-tax contributions to health insurance, 401(k) retirement plans and other voluntary benefits. 2. Refer to the employee’s...
Read more >Deductions From Wages
Although a wage garnishment is a lawful deduction from wages under Labor Code ... Furthermore, DLSE does not automatically assume that an employee...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So I added a print at line 112 above and it started working. Seems like it’s a gmake bug… Also tried with other simulators and see the same problem.
But I have only Verilog files… one Verilog file to be more precise. I wrote also mi Makefile in the issue description:
I didn’t set VHDL_SOURCES.