Assignment of the Ports / Signals (Lattice Diamond)

Guest #7194301
Hello all

I use the IDE Diamond from Lattice.
VHDL beginner (!) ...but there is already a question to be asked.
Assignment of the Ports / Signals

As far as I can see, I only define in the VHDL code if a port is an 
input / output. But when I synthesize the design, all inputs are 
signaled as clock signals, which is not correct. The should be assigned 
as normal inputs
Hope my problem is a bit more understandable with the pictures :-)

Question: How can I make TX-uC and RX1-RX8 normal inputs?

Many thanks for your help (in advance)
Pascal
Attached files:
Moderator (Company: Titel) #7196326
Pascal wrote:
> all inputs are signaled as clock signals, which is not correct.
Maybe you don't want or expect them to be clock inputs, but your 
code is written in a way that the synthesizer recognizes all those input 
signals as clocks.

As often the problem is not in the supplied snippet of code, it is 
buried somewhere else in the code itself. So simply attach the 
questionable VHDL file.

Pascal wrote:
> Hope my problem is a bit more understandable with the pictures :-)
Never ever post any source code as a picture. Its very difficult to edit 
source code delivered as a picture. Or to cut and paste a snippet of 
code out of such a picture. Got the trick?


BTW1: why tose old fashioned std_logic_arith package out of the last 
millenium. Use the numeric_std instead.

BTW2: why TX1..TX8 when VHDL allows you to define a vector TX(1 to 8)?

BTW3: why TX1..TX8 when usually a hardware designer would use TX7..TX0 
or better TX(7 downto 0) for an 8-bit bus?

BTW4: you could ask the question in German by using the German part of 
the forum: https://www.mikrocontroller.net/forum/fpga-vhdl-cpld

Reply

A question of your own? This thread is over 4 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.