草原 契诃夫

Spoiler alert.

Cadence OrCAD 平坦原理图使用port还是off-page?

使用OrCAD 16.6。(17.2简单测试好像也有这个问题,不知道更新的版本是否不同) 结论 平坦原理图中,个人推荐使用off-page connector. 使用Port的问题 主要是DRC的问题。port名称不匹配造成单端网络时,在平坦原理图中DRC不会报错。 比如,下图两页中的data1信号,一个接了data1 port,另一个接了 data3 port,但是DRC不会报错。感觉这容易导致设计错误。 删除port的情况 删除port,如果两个net alias名称相同,DRC会有警告。 Checking For Single Node Nets WARNING(ORCAP-1600): Net has fewer than two connections data1 SCHEMATIC1, PAGE1 (3.50, 1.60) WARNING(ORCAP-1600): Net has fewer than two connections data1 SCHEMATIC1, PAGE2 (3.80, 2.40) Checking For Unconnected Bus Nets WARNING(ORCAP-1611): Two nets in same schematic have the same name, but there is no off-page connector data1 SCHEMATIC1, PAGE2 (3.80, 2.40) 使用off-page的情况 使用off-page connector,但是名称不匹配时,DRC也会有警告。...

June 2, 2023 · QY ·  OrCAD

Microblaze3 I2C EEPROM Polled

AXI_IIC IP and EEPROM operation.

Microblaze2.2 GPIO Interrupt

Hardware Platform Same hardware platform as in Microblaze2.1 JTAG-UART | QY’s Notes The key_gpio binds to a button on the board. Configurations The codes are modified from the interrupt example: xgpio_intr_tapp_example.c. (I found these examples a bit too complicated for a beginner like me.) Basically: Initialize the GPIO device Initialize the interrupt device Bind the GPIO interrupt handler function Enable interrupt (both in the GPIO device and the interrupt device) Wait for the interrupt Debug Every time the key is pressed, the LEDs are toggled, and a message is printed through JTAG UART ....

Microblaze2.1 JTAG-UART

Using Vivado 2018.3 . Block Diagram Changes to Microblaze1 Hello World LED | QY’s Notes: An AXI Interrrupt Controller Another AXI_GPIO IP, gpio_key enable GPIO interrupt the interrupt output is connected to AXI Interrrupt Controller MDM module, enable JTAG UART Microblaze Enable interrupt controller Increase Local Memory to 128 KB Key GPIO Enable interrupt SDK BSP Settings Settings to direct print()/xil_printf() output to JTAG UART (nomarlly, these are the default, since only one UART is present here)....