原创:基于Zynq7045的ZC706平台开发指南

(注意:本指南适用于有Xilinx SoC平台一定开发基础的设计人员) 文主要介绍Zynq7045 SoC芯片平台的应用,通过Xilinx官方公布的FPGA开发集成环境(Vivado)、嵌入式开发软件平台(Petalinux)和开源SDK(ZYNQ BSP)进行搭建和开发,其中的系统环境主要分布在Ubuntu的桌面发布版与Windows 7专业版之上。

Show a pause in VS

How to show a pause in command line in Visual Studio, I figure out 3 kinds of solution like below showing. Solution 1: system(“pause”); Solution 2: getchar(); (Need studio.h in include line.) Solution 3: Set a option of your project, Your project/Property Pages/Linker/System/SubSystem –> Console(/SUBSYSTEM:CONSOLE) After above setting you can …

Testbench reset

`timescale 1 ns/1 ps `include “top.v” module counter_tb; reg clk, reset, enable; wire [3:0] count; counter U0 ( .clk (clk), .reset (reset), .enable (enable), .count (count) ); task reset_task; input[15:0]reset_time; begin reset=0; #reset_time; reset=1; end endtask //main cycle initial begin clk = 0; enable = 0; reset_task(100); enable = 1; …