Search the Community
Showing results for tags 'registers'.
Hey everyone, I've done the initial design of a register file (16x 32-bit registers, two write ports, four read ports) in VHDL as part of a larger project, but seeing as I am a relative newcomer to HDLs, I was hoping to get some feedback on my design, any errors I may have made, or any improvements I might want to make. Here is the VHDL: -- Register file -- Two write ports, four read ports. -- For performance reasons, this register file does not check for the same -- register being written on both write ports in the same cycle. CPU control -- circuitry is responsible for preven
Hello! Recently I bought a PMOD AD5 board to hook it up with my Arduino DUE in order to measure AC Voltage. In terms of libraries, I tried two - the official AD7193 library and the AD Converter one, from GitHub. The AD Converter one seems like it's based on the official DSP library from your wiki, but adapted to Arduino. With that one, I had a few problems, so I went with the other one. For starters, I have my signal connected to AIN3 and GND connected to AIN4 (both on J2). The SPI is properly connected to my DUE, settings are SPI_MODE3 and SPI_CLOCK_DIV32 (
I'm playing around with timer interrupts on the DP32 using Arduino and the ChipKIT Core. I was surprised to find out that this involves register manipulation. So I can set up timers using register manipulation in Arduino, but I can't seem to do anything else with register manipulation. For example, here is some code of mine which should set up a PWM signal on pin 13 (OC4) of the DP32 using register manipulation, instead of analogWrite() function. Problem is that it doesn't work and I can't figure out why. This problem is exacerbated by the apparent lack of documentation on any of the regi