d2jsp
Log InRegister
d2jsp Forums > Off-Topic > General Chat > Homework Help > Multisim Question - 74ls190
Add Reply New Topic New Poll
Member
Posts: 18,969
Joined: Aug 16 2007
Gold: 16,089.87
Oct 13 2014 06:11pm
Anybody know how to make it reset the counter back to zero at a number for say, 6, instead of going 0-1-2-3-4-5-6-7-8-9- (then starting back at zero)

I want to make i stop at 6, 0-1-2-3-4-5-6-0-1-2-3-4-5-6 and then carry the number, which is simple enough

But I don't know how to set it up so I can reset at 6? or so it knows to reset at 6?
Member
Posts: 7,465
Joined: Jan 14 2006
Gold: 1.71
Oct 14 2014 01:51pm
I'm not familiar with Multisim so I do not know the correct syntax, but to achieve the reset, you will need to do modulo 7 on the counter variable. E.g. (counter MOD 7) will produce the 0, 1, 2, 3, 4, 5, 6, 0, 1, 2,.... pattern.
Go Back To Homework Help Topic List
Add Reply New Topic New Poll