Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

Verilog code for 8 bit register with read/write

muku383

Newbie level 3
Joined
Aug 7, 2019
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
16
i wanted to drive data and address from axi slave to 8 bit register, anyone can help me out with code or logic
 

muku383

Newbie level 3
Joined
Aug 7, 2019
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
16
i'll go through video.
 

ads-ee

Super Moderator
Staff member
Joined
Sep 10, 2013
Messages
7,562
Helped
1,769
Reputation
3,544
Reaction score
1,710
Trophy points
113
Location
USA
Activity points
55,761
If you are using Vivado there is an example slave design for AXI that you can have the tools generate.

You can also download any of the AMBA spec free after signing up on the ARM website.
 

muku383

Newbie level 3
Joined
Aug 7, 2019
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
16
sorry not using vivado.
 

dpaul

Advanced Member level 4
Joined
Jan 16, 2008
Messages
1,370
Helped
290
Reputation
580
Reaction score
286
Trophy points
1,373
Location
Germany
Activity points
10,430
i wanted to drive data and address from axi slave to 8 bit register, anyone can help me out with code or logic
I hope you realize that in order to have data from an axi slave to a 8 bit register, the 8 bit register must also have an axi wrapper. That axi wrapper must act as an axi master. Since you already have the slave you need to write the axi master RTL.
 

ads-ee

Super Moderator
Staff member
Joined
Sep 10, 2013
Messages
7,562
Helped
1,769
Reputation
3,544
Reaction score
1,710
Trophy points
113
Location
USA
Activity points
55,761
I hope you realize that in order to have data from an axi slave to a 8 bit register, the 8 bit register must also have an axi wrapper. That axi wrapper must act as an axi master. Since you already have the slave you need to write the axi master RTL.
I figured the OP meant they wanted to connect an 8-bit register to an AXI slave interface, but doesn't understand how to do that.

i.e. AXI master ==> AXI slave ==> 8-bit register

A quick search on google results in one of the first links being this example design.

Didn't look to closely at it, but it looks reasonable.
 
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top