Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi guys I was looking at the following code and timing diagram trying to understand it. My question is: How does this person derive the dataout binary numbers in accordance to the code?
For example, when datain is 1010, why is dataout equal to 0111? From the process block I do not see this...
Hello fellow engineers/enthusiasts! I wrote the following program for an 8-bit modula N-bit counter, where N was a specified constant. I had to alter it a little bit due to my friend helping me, but what he altered I am confused about.
My question is, why does he assign my cout to din within...
For the following State Diagram below, I constructed a transition and output table, as well as used D-Flip Flops and K-maps to find the minimized equations. Can someone please check my work? The only confusion on my part came from my encoding of the states, as well as only having one error...
For my following code for a priority encoder, how would I write a test bench for this? I've seen several different examples for encoders and mux's but they all seem to differ and do not explain much. I would like someone to walk me through the process and maybe show me a test bench for my...
Thanks I edited my code above. But I am still getting this error:
ERROR:HDLCompiler:806 - "C:/Users/Owner/Documents/vhdl/encoder/priorityencoder.vhd" Line 46: Syntax error near "process".
Hi guys! I just coded a 4 to 2 priority encoder and am getting the following errors:
How do I fix these? Here is my code:
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
entity priorityencoder is
port(en_l: in std_logic; --Active low enable
din: in std_logic_vector(3 downto 0); --Active...
Cool I get that now! One more question, why does SIGOUT delayed from Strobe in the timing diagram? In the second process it asserts that SIGOUT(or IntNet) goes high when Strobe goes high so shouldn't they be asserted at the same time?
Hi guys, I have the following code:
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
entity MIDTERM2 is
port(CLK : in STD_LOGIC;
ACLR_L : in STD_LOGIC;
SIGOUT : out STD_LOGIC);
end Midterm2;
architecture prob1 of MIDTERM2 is
signal Strobe, IntNet ...
Would this work?
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.numeric_std.all;
use IEEE.std_logic_unsigned.all;
entity eightRC is
port(
CLK : in std_logic;
EN: in std_logic;
RST : in std_logic;
Q: out std_logic_vector(7 downto 0)
);
end eightRC;
architecture behavior of...
Metastability. I think self correcting means that I wanted to make it with some sort of combinational logic to ensure that it never goes metastable. Here is a picture describing a 4 bit self correcting counter. I personally was just confused and how to code this within my code:
I am trying to design an 8-bit self correcting ring counter whose states are 11111110, 11111101,.......,01111111. This includes reset and enable inputs, where the counter goes to the initial state when reset is asserted and counts only if enable input is asserted.
Now I think my code is correct...
Yes, but the problem states a deskewing flip flop. Doesn't that mean that the data received is phase matched to the received clock? Or is it as simple as you state?
I have a question in my text book that I do not quite understand. I was wondering if someone could please explain what the question means? Such as, what is a deskewed flip flop. How would one find the max frequency of the clock from the diagram?
Below is the question (8.83) with the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.