fpgadeveloper / microzed-custom-ip Goto Github PK
View Code? Open in Web Editor NEWCustom IP project for the MicroZed
Custom IP project for the MicroZed
I am trying to follow the tutorial: http://www.fpgadeveloper.com/2014/08/creating-a-custom-ip-block-in-vivado.html#comment-61211. I do steps 2-5. The line where I found reg_data_out <= slv_reg1; is within this block of code in my_multiplier_v1_0_S00_AXI.v:
always @(*)
begin
if ( S_AXI_ARESETN == 1'b0 )
reg_data_out <= 0;
end
else
begin
// Address decoding for reading registers
case ( axi_araddr[ADDR_LSB+OPT_MEM_ADDR_BITS:ADDR_LSB] )
2'h0 : reg_data_out <= slv_reg0;
2'h1 : reg_data_out <= multiplier_out; // changed from reg_data_out <= slv_reg1, N Harrison 6/24.
2'h2 : reg_data_out <= slv_reg2;
2'h3 : reg_data_out <= slv_reg3;
default : reg_data_out <= 0;
endcase
end
end
I change it in step 5. However, I cannot follow step 6. I do not see where “slv_reg1” needs to be replaced with with “multiplier_out” and when I save, I do not notice that the “multiplier.vhd” file has been integrated into the hierarchy (step 8).
Can you please post a copy of your my_multiplier_v1_0_S00_AXI.v file so i can compare to my own?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.