- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
I downloaded and installed the ModelSim tools (Altera Starter Edition 10.0d) from the Altera website. Attempting to get thru the tutorial (Under Help in ModelSim), I get this error when I try to load test_counter (as directed on page 16 of the tutorial):
ModelSim> vsim work.test_counter# vsim work.test_counter # Loading work.test_counter# Loading work.counter# ** Error: (vsim-3009) [TSCALE] - Module 'test_counter' does not have a timeunit/timeprecision specification in effect, but other modules do.# Region: /test_counter/dut# Error loading design Can someone please help me resolve this? Thanks. It's difficult when the tutorials don't work. Doug .링크가 복사됨
3 응답
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Add this to the top of the file that Modelsim is complaining about:
// Modelsim-ASE requires a timescale directive
`timescale 1 ns / 1 ns
Cheers, Dave
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
--- Quote Start --- Add this to the top of the file that Modelsim is complaining about:
// Modelsim-ASE requires a timescale directive
`timescale 1 ns / 1 ns
--- Quote End --- Thanks, Dave. I appreciate it. Doug .
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
You can always try typing
verror 3009 to see if there is more information about the error you are getting. In this case, it produces $ verror 3009 vsim Message# 3009: A module without a `timescale directive in effect, and without explicit timeunit and timeprecision declarations, uses the simulator resolution limit for both its time unit and time precision. This may result in incorrect delays and unintentional behavior in the module. Beware of simulator performance impact, and consider using the vlog -timescale or vopt -timescale options as a workaround. This message can be downgraded to a warning with -warning 3009, suppressed with -suppress 3009, or suppressed with +nowarnTSCALE. [DOC: QuestaSim User's Manual - Verilog Simulation Chapter]