[verilog] trigger selection of rising and falling edge

Status
Not open for further replies.

gunkaragoz

Newbie level 1
Joined
May 10, 2010
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Izmir Institute of Technology
Activity points
1,286
hi. now i'm trying to realize a digital backend for a 200 msps data acquisition system with verilog. actually this is the digital part of a digital storage oscilloscope.

i have a problem with trigger module. i want trigger mode(posedge or negedge) to be selected. but as i know i cannot use if statement before always block. how can i do the selection?
 

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