VHDL (VHSIC hardware description language) is a hardware description language used in electronic design automation to describe and design digital systems such as field-programmable gate arrays and integrated circuits.

learn more… | top users | synonyms

0
votes
1answer
29 views

VHDL- counter problems

I am trying to make an up/down counter on a Basys board. But I have some issues I can't figure out. My code: ...
1
vote
2answers
39 views

Problem in synthesizing

I trying implement structural implementation of ring counter. I get this error: ERROR:Xst:528 - Multi-source in Unit <ringcounter> on signal <count<3>>; this signal is connected to ...
0
votes
1answer
26 views

ERROR:Xst:827 - while synthesizing the code

I 'm trying to synthesize the below code using Xlinx ISE 14.3 but I get below error.I could simulate it successfully.Please help as I'm a newbie in VHDL. ERROR:Xst:827 - ...
0
votes
1answer
39 views

Behavioral description of latch

Can anyone tell me as to how I should write behavioral description for a latch in VHDL? Since it's level-sensitive, will the below line of code represent a latch? ...
0
votes
0answers
34 views

Obtaining consecutive values from PS/2 [on hold]

I am trying to design a 8-bit multiplier, for instance 11110000*10101010. PS2 keyboard is used to obtain 1's and 0's. Basys2 is the used FPGA. JA, JB, JC and JD outputs of the basys2 is connected ...
0
votes
1answer
67 views

Inequality outside of process (in when statement?) (VHDL)

I am rewriting a VGA controller in (I hope) a better way; I have a 'blank' signal which means that the current pixel is outside of the visible area, and I have the gut feeling it would be better to ...
0
votes
2answers
76 views

Well written VHDL codes? [on hold]

I have years of practice in C and C++ but I recently started learning VHDL (I've done a WAV -translated to COE- player and I'm close to having a VGA controller) and I am not feeling comfortable with ...
4
votes
3answers
219 views

Cheaper FPGA for fixed designs?

FPGA are, I reckon, (relatively) expensive because they can be reconfigured many times. If I were to make a design work on an FPGA, and decide to build several (though not many) of them on a custom ...
0
votes
2answers
55 views

VGA driver in VHDL displays only black

Goal & Data I am trying to make a VGA driver on a Spartan 6 (Embedded Micro Mojo board) to display something simple like the french flag on an LCD monitor, in 640x480 8 colors. I live in Europe ...
1
vote
2answers
95 views

Syntax error in VHDL code

I'm trying to implement controller module as a FSM using VHDL, below is the code ...
1
vote
1answer
98 views

How can I specify “don't care” signals in VHDL?

Frequently there are cases where the value that a signal is assigned doesn't really matter. Is there a way in VHDL to specify this in order to allow the synthesis tool to optimize these specific ...
1
vote
1answer
23 views

Can you interface a Modelsim testbench with an external stimuli

I am working on a team that is doing both driver software and FPGA development. The FPGA simulation is being done in Modelsim and driver software is written in C. To minimize integration risk, I ...
-1
votes
1answer
150 views

How are state machines used in electronics?

It seems to me the use of state machines is just in logic circuits, is that correct? If not do they have other uses, such as say in microcontroller programming? I'm quite new to the subject and wonder ...
0
votes
1answer
31 views

How to implement different encodings for subsets some enumeration in VHDL?

When trying to decode/encode a large number of distinct 'things' in VHDL, I stumbled across the following technique, which I find quite intriguing: ...
2
votes
1answer
80 views

Implimentation of BZFAD using VHDL

I'm novice to vhdl coding. I'm implementing BZFAD which is a low power multiplier. In the Block diagram as shown below I have a transistor block(M1) whose input are driven from the ring counter. I'm ...
2
votes
2answers
106 views

Pattern Recogniser on FPGA

I am trying to code a simon Game on my FPGA, and I am a bit stuck at how i should create a pattern and detect it. simon Game : http://www.freesimon.org/ My idea until now is, I create 99 states (99 ...
0
votes
1answer
53 views

32 x 8 Register file using generate statement for D-flip flops

My circuit has a grid of 32 x 8 D flip flops. each row should be producing a 32 bit vectors that contain the Q values from the D-ff's - which are then sent to a 8x1 MUX. The following code is me ...
0
votes
1answer
56 views

Finite state machine FSM model of FIR filter in VHDL for FPGA

I want to make a FSM model of FIR, for that I need to write FIR calculation code line in FSM implementation. Here is the actual and correct code for FIR ...
0
votes
1answer
42 views

Getting rid of latches in VHDL

I am building a simple debouncer with decrementing counter. The syntitizer is yelling that there are latches. I don't need latches. I just need flipflops. WHich part in the following code is creating ...
0
votes
1answer
60 views

Bidirectional bus in vhdl

I need to understand the concept of bidirectional bus. What i want to do is connect a memory with ports din and dout to a inout port named data. So along with memory i use a tristate buffer as ...
1
vote
2answers
81 views

How do I transmit an FM signal from the VGA_R port on the DE2-115?

The best reference for my question would be this youtube video: https://www.youtube.com/watch?v=4VW017qPT6Y I'm trying to do exactly what they did with the following resources: Matlab 2013a with ...
-2
votes
1answer
53 views

generate a VHDL process with clock signal at a frequency of 10mhz

Im struggling to see how my lecturer got 100nanosecs a clock period(50nanosecs up, 50nanosecs down) the clocks at 10mhz so I did: 1/ 10x10^6 => 1x10^-7 microSeconds convert to nano seconds ...
0
votes
1answer
72 views

Xilinx and VHDL · Why is this INOUT port undefined?

I'm using Xilinx ISE 13.1 x64 WebPack for a college assignment and I'm implementing a BCT for the sake of it. It's a Binary Coded Ternary. Like a BCD, but with only three digits (0, 1 and 2), to ...
0
votes
2answers
57 views

How to Implement this special selector?

Is it possible to write a module with 3 wires a,b,c that would output either : z (disconnected) if a=b=c=z a if a=(0 or 1) and b=c=z b if b=(0 or 1) and a=c=z c if c=(0 or 1) and a=b=z x (dont care) ...
3
votes
1answer
116 views

Why is my simple counter VHDL not working? Where did my signals go?

I'm a complete beginner with VHDL and an almost beginner with digital logic and I'm having a problem working through a book I'm reading. In particular, an exercise asks to build a counter with an ...
0
votes
1answer
71 views

VHDL Fpga debouncing

I had some troubles with debouncing on one button, so i searched on Google to find a solution for my debouncing problem. I found this code: ...
1
vote
2answers
68 views

Variable delay element [closed]

This code if compiled has an error appear with (k) symbol. I need to implement this simple block. k (that represents the amount of delay) will come to my block from the previous block. ...
0
votes
3answers
73 views

Differences in VHDL syntax

I'm reading a VHDL design and I came across the syntax in the architecture that looks like: ...
1
vote
0answers
37 views

Integrating third-party IP core using Xilinx command line tools

I am trying to integrate a third-party IP core, which is given in form of an .ngc netlist file and a corresponding .vhd file with only the entity declaration, into my design. The IP core was ...
0
votes
0answers
88 views

How to scale output of FIR filter implemented in VHDL

For a DSP school project we need to implement sound effects in a SPARTAN 6 FPGA using VHDL. We tried to keep it simple and start off with a simple (100Tab) FIR filter. As coefficients we used those ...
0
votes
1answer
47 views

Do design of a VHDL module as APB Master has any practical difficulty?

I went across VHDL codes for memory architectures, which contains modules designed as AHB masters, AHB slaves, Bridge, and APB slaves. But no APB slaves. Is there is any specific reason for excluding ...
0
votes
1answer
37 views

How data movement from large register to small register works in VHDL?

I went through a VHDL sample code for memory management. In that data from a 32 bit register was directly moved into a 8 bit register. My doubt it is how this data movement can happen? Is there is any ...
3
votes
1answer
79 views

Creating large counters / timers

I often need to create a large counter in my projects, mostly to do some timing stuff, which could be to blink an LED every second ect. I have done this by creating a large counter, as shown in the ...
2
votes
1answer
85 views

Johnson Counter VHDL

I have a problem given to me that states: Design a 4-bit Johnson counter and decoding for all eight states using just four flip-flops and eight gates. Your counter needs not be ...
0
votes
0answers
69 views

Ring counter vhdl

UPDATE: CODE IS FIXED AND CORRECT (AT LEAST I THINK) I am trying to design an 8-bit self correcting ring counter whose states are 11111110, 11111101,.......,01111111. This includes reset and enable ...
0
votes
2answers
140 views

CPU Cache implementation in VHDL

I have been assigned a project of designing a cache memory with some advanced features (using efficient cache algorithms) and implementing it in VHDL. I know the required theory for carrying out this ...
0
votes
2answers
74 views

Analog Design to VLSI Layout Tool/Software

I want to implement an 555 timer. I am looking for tools preferably FREE ones. I looked at certain tools which have GUI where I can select and drop transistors which I find tedious. Is there any ...
0
votes
0answers
51 views

VHDL up/down counter explanation?

I've basically got a test soon and I was looking at a past paper and can't make sense of one of the questions. It's asking to make a up/down bit slice counter with async clear using VHDL. Why is ...
1
vote
2answers
104 views

VHDL: How to double read a register bank?

We have been tasked with creating a register bank that can dual read, but only single write. At the moment I've got it all working apart from the dual read. Could someone point me in the right ...
3
votes
2answers
190 views

How to shift left/right a STD_LOGIC_VECTOR value within a WHEN statement?

I'm attempting to create a parametrizable ALU which handles N-Bit signed data. However the methods I know of shifting left/right, either won't work because the values are defined as STD_LOGIC_VECTOR: ...
0
votes
1answer
150 views

Writing and Reading From FLASH ROM on Nexys 2 Spartan 3-E FPGA

I am a newbie to VHDL and FPGA platform. I have a Nexys-2 Spartan 3E FPGA board which is provided with a 16 MB Flash ROM.I want to preload first 10-20 memory locations of this ROM,each location with ...
2
votes
1answer
45 views

VHDL Assignment Statement

In my ASIC book they are developing a state machine, and they have a statement like: Shift <= '1' when State = S else '0'; However in my project I have ...
2
votes
2answers
102 views

Using the PS/2 port of the Papilio One FPGA from VHDL

I'm trying to receive data from a keyboard via the PS/2 port on the Papilio One Arcade Megawing. Eventually I'll want to implement this from scratch, but I thought I'd get some public code working ...
1
vote
2answers
80 views

First attempt at DFF VHDL

I'm fairly new to VHDL and was wondering if anyone could have a look at the code I constructed for a DFF. I haven't added the reset or preset on as of yet. Just the basic function. Also don't have the ...
1
vote
3answers
82 views

fpga internal metastability

I have an issue which I think maybe related to internal timing issues. I know that crossing clock domains can cause metastability, because setup and hold timing not being kept. But I was thinking ...
1
vote
1answer
68 views

Output timing is odd in VHDL

Alright I've been creating some cool stuff in VHDL but I've run into a quirky problem. I'm creating an ALU, and attempting to write a test-bench for it, but for some reason the timing is off and my ...
1
vote
2answers
58 views

Set STD_LOGIC_VECTOR with constant integer

Is it possible to set a STD_LOGIC_VECTOR(6 DOWNTO 0) with a constant like so: ...
0
votes
1answer
75 views

How to write VHDL program to send command to PS2 device [closed]

I'm using Quartus II 13.0sp1, DE1 Board for testing, and Cyclone II FPGA EP2C20F484C7N. I need to write program in VHDL that sends command to device. I have already created entity and architecture ...
2
votes
2answers
49 views

VHDL logical operation on integer

I have some VHDL code that has the following signal definition: signal hcount : integer range 0 to 235; This is used as a counter throughout my system (so I ...
2
votes
0answers
96 views

How to implement memory mapped IO

I am describing a system in VHDL. This system already contains a processor, a DDR SDRAM controller and a VGA controller. VGA reads pixels from SDRAM (already validated and proven in FPGA). Although ...