//FLASH wire [23:0]FL_ADDR; wire [7:0]FL_DQ; wire data_rdy; wire clk_epcs; wire boot_oe_n; //EPCS reader epcs_reader flash ( .clk(clk_epcs) , // input clk_sig .data_out_valid(data_rdy), .start(boot_oe_n) , // input read_clk_sig .Serial(EPCS_ASDO) , // output Serial_sig .address({2'b00,FL_ADDR[21:0]}) , // input [23:0] address_sig .serial_byte(EPCS_DATA0) , // input serial_byte_sig .data_out(FL_DQ) , // output [7:0] flash_byte_sig .SPI_clock(EPCS_DCLK) , // output SPI_clock_sig .FSM_ENABLE(1'b1) , // input FSM_ENABLE_sig .CS(EPCS_NCSO) // output CS_sig );
//AUDIO PINS assign GPIO[27]=AUDIO_L; assign GPIO[29]=AUDIO_R;
// VGA Pins assign GPIO[0]=vga_R[3]; assign GPIO[1]=vga_R[2]; assign GPIO[3]=vga_R[1]; assign GPIO[5]=vga_R[0]; assign GPIO[7]=vga_G[3]; assign GPIO[9]=vga_G[2]; assign GPIO[11]=vga_G[1]; assign GPIO[13]=vga_G[0]; assign GPIO[15]=vga_B[3]; assign GPIO[17]=vga_B[2]; assign GPIO[19]=vga_B[1]; assign GPIO[21]=vga_B[0]; assign GPIO[23]=V_SYNC; assign GPIO[25]=H_SYNC;
Read more: N64 Controller Module - DE0-NANO
Read more: DE0 NANO PlayStation Controller Interface
Read more: SNES Controller Module - DE0-NANO-SOC
// CONTROLLER wire UP_CONTROLLER=1'b0; wire DOWN_CONTROLLER=1'b0; wire LEFT_CONTROLLER=1'b0; wire RIGHT_CONTROLLER=1'b0; wire SELECT_CONTROLLER=1'b1; wire RUN_CONTROLLER=1'b1; wire BUTTON1_CONTROLLER=1'b1; wire BUTTON2_CONTROLLER=1'b1;
Connect the DE0-NANO using your USB to power it on.
Run the "DE0_NANO_Control_Panel.exe" program.
Click on "Open", select "Open USB Port 0".
Select the "EPCS" tab, and click on "Chip Erase".
Check "File Length", then click on "Write a File to EPCS".
Choose a PC-Engine ROM(JackieChan.pce). You can fin other ROMS here https://romhustler.org/rom/tg16/
Once the write operation is done, close the "DE0-NANO Control Panel".
//CONTROL PCEngine Signals wire RESET = ~KEY[0]; wire ROM_HEADER =SW[1]; wire ROM_SPLIT =SW[2]; wire BITFLIP =SW[3];
Read more: LCD DRIVER(PSP SCREEN) with and without Nios II
You can contribute and make this a better place by supporting it.if you like this webpage, or if the resources of this webpage are useful for you, please donate.
Paypal(Own Amount):