- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My system have 360 channel input signal named: In_Target_Signal[359..0], they are used as clk in my project, and I have create clock for them as the following show:
create_clock -nam {In_Target_Signal} -period 10000.00 -waveform {0.000 5000.000} }] -add
I need to create a generated clock for each In_Target_Signal, that means I need to create 360 generated clocks: Generate_CLK[359..0]. Anybody tell me how to implement it? Thanks in advance!
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How about something like this in the SDC file:
for {set i 0} {$i<360} {incr i} { create_clock -period 10000.00 -name In_Target_Signal[$i] [get_ports {In_Target_Signal[$i]}] }- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have tried that, but timequest report that :
warning: Ignored assignment create_clock There is no detailed info, so it is hard to find the reason. :(- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have solved the problem, the correct syntax is as below,FYI.
set FREQMeasure_Total_Channel 360 for {set loop 0} {$loop < $FREQMeasure_Total_Channel} {incr loop} { puts "loop is $loop" create_clock -name FREQMeasure_ChannleIn_Clk[$loop] -period 100000.000 FREQMeasure_ChannleIn[$loop] }
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page