Dynamically change of specparam in verilog ?

Status
Not open for further replies.

tsuresh

Newbie level 4
Joined
Nov 28, 2008
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,321
Hi,
My requirement : access time has to change depends on the frequency

Current implementation in short :
==========================
specparam : taccess : 3:4:5

always @(posedge CL)
Q<=D;
==========================
So whenever there is a Clock, I get the valid data in "Q" after "taccess" time.
But this time is fixed as you see from the specparam.
From Design point of view,
there should be two acess time depending on the choosen frequency.
Lets say I have taccess_freq1 and taccess_freq2.
How to model this ?
Can we change specparam dynamically ?
Or some other way is there ?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…