We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V4:
When adding a coin with the coin counter at max (=0x1F), the coin counter resets, as shown in the attached picture.
Possible solution: returning the newly inserted coin
switch no a special state ... elsif m100 = '1' then if count < MAX_COUNT then pe <= soma; else pe <= devolve2; end if; else ...`
...
elsif m100 = '1' then
if count < MAX_COUNT then
else
end if;
update D100 to reflect the special case d100 <= '1' when (ea = devolve or ea = devolve2) else '0';
d100 <= '1' when (ea = devolve or ea = devolve2) else '0';
add the new state to the state enumeration type state is (action, soma, sgreen, satum, sbacon, nulo, devolve, devolve2);
type state is (action, soma, sgreen, satum, sbacon, nulo, devolve, devolve2);
create a new constant (for the sake of readability) constant MAX_COUNT : integer := 2**(count'length)-1;
constant MAX_COUNT : integer := 2**(count'length)-1;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
V4:
When adding a coin with the coin counter at max (=0x1F), the coin counter resets, as shown in the attached picture.
Possible solution: returning the newly inserted coin
switch no a special state
...`
...
elsif m100 = '1' then
if count < MAX_COUNT then
pe <= soma;else
pe <= devolve2;end if;
elseupdate D100 to reflect the special case
d100 <= '1' when (ea = devolve or ea = devolve2) else '0';
add the new state to the state enumeration
type state is (action, soma, sgreen, satum, sbacon, nulo, devolve, devolve2);
create a new constant (for the sake of readability)
constant MAX_COUNT : integer := 2**(count'length)-1;
The text was updated successfully, but these errors were encountered: