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.
outpktend
Hi all.
I am interfacing the Cypress EZ-USB FX2LP (Cy7C68013A) to a Lattice FPGA. The data is transferred from PC in AUTOOUT mode (auto-commit to peripheral domain) and the data is read from the USB chip through the slave FIFO interface.
Endpoint 2 is used, the fifo uses double...
lattice gsr
Hi all. I am debugging a design on Lattice ECP2 device, and during the PAR phase the ISPlever software generates a message similar to:
"Using <design net> as GSR".
Now, it is a bit odd to have a signal that should also be reset by GSR in the start, and which is actually a...
Re: Assigning more than one task to a state (in WITH stateme
Hi. As per discussion in the other thread(If- Then VHDL error), there is an alternative way of doing this.
architecture RTL of mycode is
type state_type is (I0,I1,I2,I3,I4,I5,I6);
signal curr_state,next_state : state_type...
if condition in vhdl
Correct. You can describe combinatorial logic without using a process. But you cannot use if.. then.. else constructs outside of a process.
Writing the code
-- 3 State types
if (m = LOAD) then
t <= T1;
elsif (m = MOV or m = NEG) then
t <= T2;
else...
error (10500): vhdl
Hi.
In this process, m is not a clock. Synchronous (clocked) logic is described in a different manner in VHDL.
When you define a process:
process(a,b,c) is
begin
if c = '0' then
d <= a xor b;
else
d <= b xor c;
end if;
end process;
The signals in...
if else vhdl
Hi. The code:
-- 3 State types
if (m = LOAD) then
t <= T1;
elsif (m = MOV or m = NEG) then
t <= T2;
else
t <= T3;
end if;
Is a sequential statement, not a concurrent one, and cannot be written outside a process begin/end block. Therefore, you...
fpga floorplanning
Can anyone suggest where to look for for resources and tutorials on manual FPGA design floorplanning, possibly for Xilinx chips?
I would appreciate any help.
Perhaps mass storage drivers exist for the FX2, but CyUSB.sys driver and its CyAPI enable direct control of transfers to individual USB endpoints on the chip from within the application software. See this ref design:
https://www.cypress.com/design/RD1048
My choice would be the EZ-USB FX2 LP from Cypress. Part number is CY7C68013A. It comes with its own driver which has a very nice user mode API you can use from your code, and you practically get the firmware needed for high speed transfers with it.
The embedded 8051 cpu can control the traffic...
vhdl fileio
Hi all.
I was looking through multiple IP cores recently and I noticed that most of the cores use a very limited subset of VHDL. However, looking at synthesis tools available today, I noticed that they support quite a lot of language features including structured datatypes...
Re: BRAM Spartan-II
The PCI core therefore expects to have the data ready when the ENA signal which it produces is high, to sample it on the next rising edge of clock? This seems highly unusual for a synchronous design.
If it is absolutely necessary, you could either try inverting the port A...
Re: BRAM Spartan-II
Hi. If you are using RAMB4_S16 blockram from spartan II, you apparently cannot have the output in the same clock cycle the write enable strobe is asserted as the BRAM has a synchronous write, the ENA will get sampled on the next rising edge of clock.
Also, why do you need...
xilinx ibufds ddr
Hi all.
I am working on implementing an LVDS interface on a Xilinx Spartan-3 chip, and I want to do DDR sampling of input data.
The first idea was to directly instantiate the IBUFDS primitive for external LVDS interface, and then connect the output of IBUFDS to IFDDRCPE DDR...
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.