How to reuse switches for Verilog Calculator -


i'm trying build simple 4-bit calculator in verilog final project in digital logic lab. there 1 major issue can't understand. have use logic switches put in value (4 bits), use same ones decide operation (3 bits), use them yet again put in second value (4 bits).

now, i'm not @ verilog, feel there's not simple way this. have debounced button press confirm that's want enter each of 3 things need enter.

so question is, how can use debounced button multiple times without messing up? can put always @(posedge clock) , it'll use 1 @ time? can put these statements inside of each other?

if had more switches, feel simple, can't figure out how values entered right appreciated. , if helps, i'll using program on spartan-board 3e.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -