|
|
EDK custom IP read/write
Hi,
I'm missing something here, I think. I used EDK create/import IP wizard
to create a custom IP that has one s/w accessible register. I want to
modify the data (shift, rotate, add, etc.) received from a terminal and
read it back. I didn't modify the slave read/write example code
generated. I wrote a program in C that uses custom IP library for
read/write, but I always read a 0. If I hardcode IP2Bus_Data, I could
read that data. I did a test that read/write LEDs before, and it worked
just fine. But it seems like I couldn't get it to work if I just modify
the Bus2IP_Data signal and read it back. I'm not familiar with VHDL.
Can anyone point out to me? Thanks!
Auto generated read/write that I use:
SLAVE_REG_WRITE_PROC : process( Bus2IP_Clk ) is
begin
if Bus2IP_Clk'event and Bus2IP_Clk = '1' then
if Bus2IP_Reset = '1' then
slv_reg0 <= (others => '0');
else
case slv_reg_write_select is
when "1" =>
for byte_index in 0 to (C_DWIDTH/8)-1 loop
if ( Bus2IP_BE(byte_index) = '1' ) then
slv_reg0(byte_index*8 to byte_index*8+7) <=
Bus2IP_Data(byte_index*8 to byte_index*8+7);
end if;
end loop;
when others => null;
end case;
end if;
end if;
end process SLAVE_REG_WRITE_PROC;
-- implement slave model register read mux
SLAVE_REG_READ_PROC : process( slv_reg_read_select, slv_reg0 ) is
begin
case slv_reg_read_select is
when "1" => slv_ip2bus_data <= slv_reg0;
when others => slv_ip2bus_data <= (others => '0');
end case;
end process SLAVE_REG_READ_PROC;
------------------------------------------
-- Example code to drive IP to Bus signals
------------------------------------------
IP2Bus_Data <= slv_ip2bus_data;
IP2Bus_Ack <= slv_write_ack or slv_read_ack;
IP2Bus_Error <= '0';
IP2Bus_Retry <= '0';
IP2Bus_ToutSup <= '0';
|
|
0
|
|
|
|
Reply
|
dasani8888 (18)
|
10/25/2005 7:08:55 PM |
|
Hi again,
I forgot to mention my target is virtex-II pro fpga. Thanks.
|
|
0
|
|
|
|
Reply
|
Eric
|
10/25/2005 7:31:38 PM
|
|
I am wondering the same thing too. Have you solve your problem?
Regards
HV
---------------------------------------
This message was sent using the comp.arch.fpga web interface on
http://www.FPGARelated.com
|
|
0
|
|
|
|
Reply
|
hvo
|
12/16/2009 7:49:01 PM
|
|
|
2 Replies
382 Views
(page loaded in 2.001 seconds)
Similiar Articles: EDK custom IP read/write - comp.arch.fpgaHi, I'm missing something here, I think. I used EDK create/import IP wizard to create a custom IP that has one s/w accessible register. I want to mod... Feedback mux created for signal data - comp.lang.vhdlEDK custom IP read/write - comp.arch.fpga... get it to work if I just modify the Bus2IP_Data signal and ... PROC; -- implement slave model register read mux ... comp.arch.fpga - page 169... Dear Dr VHDL I am a newbie struggling with an exercise to write ... 3/4/2004 6:26:50 AM) Hi all, I wonder if (using the Xilinx EDK 6.1) is it possible to create custom IP ... Strong motion data - comp.soft-sys.matlabEDK custom IP read/write - comp.arch.fpga Strong motion data - comp.soft-sys.matlab Just insert your custom code into the function ... delete that demo code before using ... access control and pool servers - comp.protocols.time.ntp ...Platform: Slackware Linux 10.0, kernel 2.6.6 (custom but ... servers and access controls: it builds a list of IP ... have been much simpler, using only a single loop to write ... w32time - comp.protocols.time.ntp... w32time to do the job, instead of a custom ... implementers > cannot be expected to read ... Is this a NT or TCP/IP-Problem. Mario Danny Mayer schrieb: > "read.news.de.uu.net ... Static reflection - a base for runtime reflection? - comp.lang.c++ ...That is to say, if you write a function like this in C++0x ... -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I read on ... Change IP address without reboot HPUX 11i - comp.sys.hp ... Getting started VHDL, VHDL for Dummies, Easy Steps for FPGA ...I myself tried learning HDL (Verilog and VHDL) reading ... for FPGA beginners, but the use of a PCI IP ... comp.arch.fpga Simple ISE Microblaze with GPIO and custom ... input & output in assembly - comp.lang.asm.x86... dc.w dosmain ; Initial IP value ... you get better "control" over input and can write custom ... OS interface for learning assembly programming (read/write ... NFS Server access list - comp.sys.sun.adminYou appear to have already read all the possible ways ... Possibly, write a custom PAM or NSS module to deal with it. you ... you can base your access lists on DNS ... sh ip ... EDK custom IP read/write - comp.arch.fpga | Computer GroupHi, I'm missing something here, I think. I used EDK create/import IP wizard to create a custom IP that has one s/w accessible register. I want to mod... Unable to write/read to SW accessible registers for custom IPHi, I have been unsuccessful in writing to and reading from software accessible registers for my custom VHDL IP. The IP was created by the Create/Import custom IP ... 7/25/2012 6:11:16 PM
|
|
|
|
|
|
|
|
|