Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can somebody please help me translate this VHDL code into VERILOG code? Thank you so much. 1Vhd1 Lab 11brary ieee: 3 use ieee.stdlogic 1164.all: entity

Can somebody please help me translate this VHDL code into VERILOG code? Thank you so much. image text in transcribed
image text in transcribed
image text in transcribed
1Vhd1 Lab 11brary ieee: 3 use ieee.stdlogic 1164.all: entity LAB7 is port (ReaetN, Clock, Coini, Coin2: in atd logic: Bottle, Returnos, Return10: out std logic) end LAB: architecture arch LAB7 of LAB7 i5 10 ype state type is (S00, S05, S10, 315, 820, S25, 330, 335, S40, 845, S50, 355, S60, 865, 370, ROSA, ROSB, R10, R10B, RB): ignai STATES: STATE Eype 12 ignal coin: std logic_vector (1 dovnto 0) 13 Ebegin 15 process (ResetN, Clock) begin 16 17 if (Re3etN-'0') then STATES "S00: 18 elsit (Clock' event and Clock-'1' then 19 case (STATES) is vhen S00 if (Coin 0 then S elsif (coin "01") then elsif(coin10") then else end if: STATES-SO0 STATES805: STATESS10: STATES-S2S: 25 2 6 if (Coin0 then S elsif (coin "01") then elsif(coin10") then STATES-SOS: 28 E 29 E 30 E 3 1 32 STATES <. statess15: states end if: vhen s10 if then elsif elaif else s15> if (Coin "00 then S elsif (coin"O1") then elsif (coin10") then STATESS10 34 E STATES915 STATESS20 STATES-S35; 37 STATES-S15: 40 E STATES320: STATES

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Marketing Database Analytics

Authors: Andrew D. Banasiewicz

1st Edition

0415657881, 978-0415657884

More Books

Students also viewed these Databases questions