Browse By Tags

  • HACK CPUMOD S7 #5: Peripheral Remapping

    This time the HACK uC has a new memory map, as the table shows, this memory map includes two BSP components; SWITCH and LEDS. The SWITCH register only maps one of the buttons in the board, BTN1, the other one corresponds to computer reset. The LEDS…
  • HACK CPUMOD S7 #4: PWM Module extension

    Consider the IP Catalog, mainly the Clocking Wizard. For this component we can stablish an input clock of 12MHz, as the boards has, and the output is multipled by power of two values. This allow a power up in the clock speed, consequently, the PWM…
  • HACK CPUMOD S7 #3: PWM Module testing

    Remember the PWM behavior equation Here, we need translate in terms of the register values since the instructions for the HACK CPU will update the values, consequently, the PWM signal will change. where MAX is the register value in the peripheral…
  • HACK CPUMOD S7 #2: PWM module design

    Let's think about a common peripheral, the Pulse Width Modulation (PWM) Module. The concept is very simple and ilustrated in the next figure There is a COUNTER register that start in zero. As a CLK edge arrives to circuit the COUNTER is updated one…
  • HACK CPUMOD S7 #1: Proposal

    The main idea is take a basic CPU to implement in the FPGA. Nowadays, there are some advanced CPU to develop a system like MIPS, ARM, RISC V, Microblaze and so on. Despite the availability of this components, the concept could be obscure for undergraduates…