- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
always @ (posedge clk or negedge rst_n or posedge alarm)
if(!rst_n || alarm) cnt_s <= 7'b0; else if (cnt_s == 7'd60 ) begin cnt_m <= cnt_m + 1 ; cnt_s <= 7'b0 ; end error : Error (10028): Can't resolve multiple constant drivers for net "cnt_m[3]" at timeinterrupt.v(42)Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any othere code in the program where the cnt_m writed? I think the problem is that you change the cnt_m value in different always blocks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes ... thanks for your answer...
i have used it in another always blocks- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You're welcome ;)
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