You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
microwatt/fpga
Paul Mackerras 7bc7f335f1 Implement CTRL register
The CTRL register has a single bit called RUN.  It has some unusual
behaviours:

- It can only be written via SPR number 152, which is privileged
- It can only be read via SPR number 136, which is non-privileged
- Reading in problem state (user mode) returns the RUN bit in bit 0,
  but reading in privileged state (hypervisor mode) returns the RUN
  bit in bits 0 and 15.
- Reading SPR 152 in problem state causes a HEAI (illegal instruction)
  interrupt, but reading in privileged state is a no-op; this is the
  same as for an unimplemented SPR.

The RUN bit goes to the PMU and is also plumbed out to drive a LED on
the Arty board.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
1 month ago
..
LICENSE Initial import of microwatt 5 years ago
acorn-cle-215.xdc acorn: Add support for the Acorn CLE 215+ 5 years ago
antmicro_artix_dc_scm.xdc antmicro-artix-dc-scm: Add Ethernet pins 2 years ago
arty_a7.xdc arty a7: Fix build error with Vivado (#429) 10 months ago
clk_gen_bypass.vhd Fix clk_gen_bypass 5 years ago
clk_gen_ecp5.vhd ECP5: Adjust PLL constants so the PLL lock indication works 3 years ago
clk_gen_mcmm.vhd Fix some whitespace issues 4 years ago
clk_gen_plle2.vhd fpga/clk_gen_plle2: Add support for 50Mhz->100Mhz 3 years ago
cmod_a7-35.xdc Remove -add from xdc files 4 years ago
firmware.hex Add a few more FPGA related files 5 years ago
fpga-random.vhdl Add random number generator and implement the darn instruction 5 years ago
fpga-random.xdc Add random number generator and implement the darn instruction 5 years ago
genesys2.xdc Remove -waveform from xdc files 4 years ago
hello_world.hex hello_world: Use new headers and frequency from syscon 5 years ago
main_bram.vhdl Rename 'do' signal to avoid verilator System Verilog warning 3 years ago
nexys-video.xdc litesdcard: Add Nexys Video support 3 years ago
nexys_a7.xdc Remove -add from xdc files 4 years ago
pp_fifo.vhd pp_fifo: Fix full fifo losing all data on simultaneous push & pop 5 years ago
pp_soc_uart.vhd uart: Remove combinational loops on ack and stall signal 5 years ago
pp_utilities.vhd Initial import of microwatt 5 years ago
soc_reset.vhdl soc_reset: Use counters, add synchronizers 5 years ago
soc_reset_tb.vhdl Exit cleanly from testbench on success 5 years ago
top-acorn-cle-215.vhdl Move alt_reset to syscon 2 years ago
top-antmicro-artix-dc-scm.vhdl Move alt_reset to syscon 2 years ago
top-arty.vhdl Implement CTRL register 1 month ago
top-ecpix5.vhdl ECPIX-5: Add liteeth support 10 months ago
top-generic.vhdl Remove option for "short" 16x16 bit multiplier 2 years ago
top-genesys2.vhdl Move alt_reset to syscon 2 years ago
top-nexys-video.vhdl liteeth: Regenerate from current upstream litex 10 months ago
top-orangecrab0.2.vhdl Move alt_reset to syscon 2 years ago
top-wukong-v2.vhdl liteeth: Regenerate from current upstream litex 10 months ago
wukong-v2.xdc Add support for QMTech Wukong v2 board 3 years ago