Question: Please help i am not sure if the answer is 1 bit or 8 bits, please also explain why Question 9 A module called dflipflop
Please help i am not sure if the answer is bit or bits, please also explain why
Question
A module called dflipflop is defined as below:
entity dflipflop is
generic GDATAWIDTH : INTEGER :;
Port CLK : in stdlogic;
rstn : in STDLOGIC;
D : in stdlogicvector GDATAWIDTH downto ;
Q : out stdlogicvector GDATAWIDTH downto ;
end dflipflop;
architecture Behavioral of dflipflop is
begin
dff: process clkrstn
begin
if rstn then
Q others ;
elsif risingedgeclk then
Q D;
end if;
end process dff;
end Behavioral;
The dflipflop module is instantiated in another module as below. Given that signals CLK rstn D and
datain are correctly defined elsewhere, what is the data width that is actually implemented:
dff : dflipflop
generic map GDATAWIDTH
port map
CLK CLK
rstn rstn
Q D
D datain
;
bit
bits
bits
bits
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
