Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 22nd, 2011  |  syntax: None  |  size: 0.82 KB  |  views: 75  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. //---------------------------------------------------------------------------
  2. // VGA
  3. //---------------------------------------------------------------------------
  4. vga #(
  5.         .csr_addr(4'h3),
  6.         .fml_depth(`SDRAM_DEPTH)
  7. ) vga (
  8.         .sys_clk(sys_clk),
  9.         .sys_rst(sys_rst),
  10.  
  11.         .csr_a(csr_a),
  12.         .csr_we(csr_we),
  13.         .csr_di(csr_dw),
  14.         .csr_do(csr_dr_vga),
  15.  
  16.         .fml_adr(fml_vga_adr),
  17.         .fml_stb(fml_vga_stb),
  18.         .fml_ack(fml_vga_ack),
  19.         .fml_di(fml_vga_dr),
  20.  
  21.         .dcb_stb(dcb_stb),
  22.         .dcb_adr(dcb_adr),
  23.         .dcb_dat(dcb_dat),
  24.         .dcb_hit(dcb_hit)
  25. );
  26.  
  27. assign   vga_psave_n = 1;
  28. assign   vga_hsync_n = 1;
  29. assign   vga_vsync_n = 1;
  30. assign   vga_r = 0;
  31. assign   vga_g = 0;
  32. assign   vga_b = 0;
  33. assign   vga_clk = 1'bz;
  34. assign   vga_sda = 1'bz;
  35. assign   vga_sdc = 1'bz;
  36.  
  37. //---------------------------------------------------------------------------