Lighting signature experiment on ZedBoard (2): Creating a custom IP

Lighting signature experiment on ZedBoard (2): Creating a custom IP

If you want to use the Xilinx component to create an embedded project from scratch, it usually starts with PlanAhead and then starts XPS. Digilent has built an embedded project for ZedBoard, which we can download directly and modify it according to our own ideas. Download link? NavPath=2,400,1028&Prod=Z...
The downloaded file is named ZedBoard_Linux_Design.zip, and there are 6 folders after unzipping (unzip ZedBoard_Linux_Design.zip). The project file is located at /hw/xps_proj/system.xmp, start XPS, open system.xmp. The system you see here is ZedBoard. First, disable 8 of the GPIO by clicking the I/O Peripherals on the Zynq tab, find the GPIO on the left side of the open window, click the + sign on the left, and change the 60 in the EMIO to 52. This is done to strip the 8 LEDs from the GPIO.

Then create the IP, click Hardware->Create and Import Peripherial Wizard->next->next->next, enter the IP name "myled", note that this can only be lowercase, other defaults, then next, bus interface ( Bus Interface) default AXI4-Lite-->next, cancel Include data phase TImer option, --> register default 1 32-bit register. -->next, -->next, -->next, friends who are used to Verilog pay attention to the choice, "...in Verilog instead of VHDL". -->next, and finally Finish. After the IP is created, you will see the IP "MYLED" you just created in "IP Catalog-->Project local PCore-->USER" on the left.

Lighting signature experiment on ZedBoard (2): Creating a custom IP

Right click --> Add IP-->yes-->ok,-->ok | Add the created "MYLED" to the ZedBoard system. Find myled_0 in the Bus Interfaces tab, right click --> Browse HDL Sources to find the file where the VHDL code is located, myled.vhd and user_logic.vhd, change these 2 files, connect our IP, one end and LED, of course, The other end of it is AXI-Lite. Open user_logic.vhd, add a Port (LED : out std_logic_vector(7 downto 0), then connect the register slv_reg0 to this port ( LED <= slv_reg0(7 downto 0);). Then open myled.vhd and find USER_LOGIC_I Corresponding to the previous port, add the Port LED, and correspond to the myled LED (LED => LED), then add the Port LED to myled and save.

Then, go back to the tab BUS Interfaces, find myled_0, right click --> View MPD, find ## Ports in myled_v2_1_0.mpd, press Enter, enter PORT LED = "", DIR = O, VEC = [7 : 0], save. Then -->project-->Rescan User Repositories, in the tabs Ports -->myled_0-->LED, connect the LED to myled_0_LED_pin in External Ports, find myled_0 in the Graphical Design View, see the interface LED is connected Go to the external interface myled_0_LED_pin.

Lighting signature experiment on ZedBoard (2): Creating a custom IP

The next step is to link myled_0_LED_pin to the pins of the chip by changing the ucf file. -->View-->Tabs-->project-->UCF File, double-click UCF File, we see On-board LED's connected to GPIO. We have canceled this connection, so here we have to replace the GPIO connected to the LED's with myled_0_LED_pin<0> ---<7> and reorder the GPIOs because GPIO<59>---<52> is not existing. After the modification is completed, click Run DRCs after saving to check if there is any error. After confirming the error, click Generate BitStream to create a bit stream file. This step is more time-consuming. It takes about 2.5 hours on my machine and needs patience. When you're done, click Export Design for SDK. Go to the software section.

Lighting signature experiment on ZedBoard (2): Creating a custom IP


Lighting signature experiment on ZedBoard (2): Creating a custom IP

KNB1-63 Miniature Circuit Breaker

KNB1-63 Mini Circuit breakers, also named as the air switch which have a short for arc extinguishing device. It is a switch role, and also is a automatic protection of low-voltage electrical distribution. Its role is equivalent to the combination of switch. Fuse. Thermal Relay and other electrical components. It mainly used for short circuit and overload protection. Generally, According to the poles, mini Circuit breaker can be divided into 1P , 1P+N , 2P, 3P and 4P.


KNB1-63 Miniature Circuit Breaker,Electronics Miniature Circuits Breaker,Automatic Miniature Circuit Breaker,Mini Circuit Breaker

Wenzhou Korlen Electric Appliances Co., Ltd. , https://www.zjmotorstarter.com