문서 ID: 000076222 콘텐츠 형태: 문제 해결 마지막 검토일: 2011-10-12

Qsys: The clock period of an Altera Avalon Clock Source BFM generated by Qsys is not accurate

환경

    인텔® Quartus® II 구독 에디션
    클럭
BUILT IN - ARTICLE INTRO SECOND COMPONENT

중요 문제

설명

The clock period of an Altera Avalon Clock Source bus functional model (BFM) generated by Qsys is not accurate. If you set up your design with the default clock source and then generate the testbench Qsys system and testbench simulation model, the generated testbench Qsys system uses the Altera Avalon Clock Source BFM (altera_avalon_clock_source) as the clock’s source.

해결 방법

To correct the clock period:

  1. Open the generated altera_avalon_clock_source.sv file in <Qsys output directory>/simulation/submodules.
  2. Change ‘timescale 1ns/1ns to ‘timescale 1ns/1ps. If you require a smaller time unit, use ‘timescale 1ns/1fs.
  3. Change localparam CLOCK_PERIOD = 1000/CLOCK_RATE; to localparam CLOCK_PERIOD = 1000.000000/CLOCK_RATE;.

관련 제품

이 문서는 다음 항목에 적용됩니다. 1 제품

인텔® 프로그래밍 가능 장치

1

이 페이지의 콘텐츠는 원본 영어 콘텐츠에 대한 사람 번역 및 컴퓨터 번역의 조합으로 완성되었습니다. 이 콘텐츠는 편의와 일반적인 정보 제공을 위해서만 제공되었으며, 완전하거나 정확한 것으로 간주되어서는 안 됩니다. 이 페이지의 영어 버전과 번역 사이에 모순이 있는 경우 영어 버전이 우선적으로 적용됩니다. 이 페이지의 영어 버전을 확인하십시오.