Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
914 Views

University Program IP Cores and Quartus II 7.2

Hello, 

 

I'm using the DE2 board and installed the new University Program IP Cores. I'm also using Quartus II 7.2. 

 

When I'm add DE Boards External Interface to my nios 2 and select for example VGA Core then there is no extra clk signal, but a extra signal used by shown in the Clock section in the top-right corner of the SOPC Builder. 

 

Now I'm wondering if this is a bug, or do I mis some think?
0 Kudos
5 Replies
Highlighted
Valued Contributor III
11 Views

This is not a bug. The DE External Interface core no longer creates the extra clock, since the VGA core no longer requires it. There was an issue with the VGA core while passing data from the 50MHz clock domain to the 25MHz clock domain. Now the VGA core only using the 50MHz clock domain, but a 25MHz clock is still needed to be sent to the VGA chip via the VGA_CLK pin.

0 Kudos
Highlighted
Valued Contributor III
11 Views

 

--- Quote Start ---  

This is not a bug. The DE External Interface core no longer creates the extra clock, since the VGA core no longer requires it. There was an issue with the VGA core while passing data from the 50MHz clock domain to the 25MHz clock domain. Now the VGA core only using the 50MHz clock domain, but a 25MHz clock is still needed to be sent to the VGA chip via the VGA_CLK pin. 

--- Quote End ---  

 

 

 

So I need the make a 25 MHz clk with a PLL and connect it to the VGA_CLK pin? 

 

And if I'm using the SDRAM module I have also a problem with the clk. The SDRAM also needs a special clk, but the DE External Interface core don't add the extra clk. But a extra signal used by shown in the Clock section in the top-right corner of the SOPC Builder. Those the DE External Interface core no longer creates this extra clock?
0 Kudos
Highlighted
Valued Contributor III
11 Views

No, you do not need to create the 25MHz clock using a PLL. The DE Boards External Interface core does that for you. If you select the VGA clock using the check box in the DE Boards External Interface core's GUI, then your system will contain the output VGA_CLK_from_the_DE_Board_0, which you will need to connect to the pin: PIN_B8 (VGA_CLK). 

 

There has been a recent update to the DE Boards External Interface core, which you should download and replace your existing core with. 

 

download the de boards external interface (ftp://ftp.altera.com/up/pub/university_program_ip_cores/de_boards_external_interface.zip)
0 Kudos
Highlighted
Valued Contributor III
11 Views

0 Kudos
Highlighted
Valued Contributor III
11 Views

Hi ! 

I have used VGA Core but I don't control VGA monitor. can you help me? 

module vgacontroller ( KEY, CLOCK_50, DRAM_CLK, DRAM_CKE, 

DRAM_ADDR, DRAM_BA_1, DRAM_BA_0, DRAM_CS_N, DRAM_CAS_N, DRAM_RAS_N, 

DRAM_WE_N, DRAM_DQ, DRAM_UDQM, DRAM_LDQM, 

SRAM_ADDR, 

SRAM_CE_N, 

SRAM_DQ, 

SRAM_LB_N, 

SRAM_OE_N, 

SRAM_UB_N, 

SRAM_WE_N, 

//////////////////// VGA //////////////////////////// 

VGA_CLK, // VGA Clock 

VGA_HS, // VGA H_SYNC 

VGA_VS, // VGA V_SYNC 

VGA_BLANK, // VGA BLANK 

VGA_SYNC, // VGA SYNC 

VGA_R, // VGA Red[9:0] 

VGA_G, // VGA Green[9:0] 

VGA_B, // VGA Blue[9:0] 

); 

 

input [0:0] KEY; 

input CLOCK_50; 

 

output [11:0] DRAM_ADDR; 

output DRAM_BA_1, DRAM_BA_0, DRAM_CAS_N, DRAM_RAS_N, DRAM_CLK; 

output DRAM_CKE, DRAM_CS_N, DRAM_WE_N, DRAM_UDQM, DRAM_LDQM; 

inout [15:0] DRAM_DQ; 

wire CLOCK_25; 

inout [15:0] SRAM_DQ; // SRAM Data bus 16 Bits 

output [17:0] SRAM_ADDR; // SRAM Address bus 18 Bits 

output SRAM_UB_N; // SRAM Low-byte Data Mask  

output SRAM_LB_N; // SRAM High-byte Data Mask  

output SRAM_WE_N; // SRAM Write Enable 

output SRAM_CE_N; // SRAM Chip Enable 

output SRAM_OE_N;  

//////////////////////// VGA //////////////////////////// 

output VGA_CLK; // VGA Clock 

output VGA_HS; // VGA H_SYNC 

output VGA_VS; // VGA V_SYNC 

output VGA_BLANK; // VGA BLANK 

output VGA_SYNC; // VGA SYNC 

output [9:0] VGA_R; // VGA Red[9:0] 

output [9:0] VGA_G; // VGA Green[9:0] 

output [9:0] VGA_B; // VGA Blue[9:0] 

 

// Instantiate the Nios II system module generated by the SOPC Builder 

nios_system NiosII ( 

CLOCK_50, 

CLOCK_25, 

KEY[0], 

 

DRAM_ADDR, 

{DRAM_BA_1, DRAM_BA_0}, 

DRAM_CAS_N, 

DRAM_CKE, 

DRAM_CS_N, 

DRAM_DQ, 

{DRAM_UDQM, DRAM_LDQM}, 

DRAM_RAS_N, 

DRAM_WE_N, 

SRAM_ADDR, 

SRAM_CE_N, 

SRAM_DQ, 

SRAM_LB_N, 

SRAM_OE_N, 

SRAM_UB_N, 

SRAM_WE_N, 

VGA_BLANK, 

VGA_B, 

 

VGA_G, 

VGA_HS, 

VGA_R, 

VGA_SYNC, 

VGA_VS 

); 

// Instantiate the module sdram_pll (inclk0, c0) 

sdram_pll neg_3ns (CLOCK_50, DRAM_CLK,CLOCK_25,VGA_CLK); 

endmodule 

http://img501.imageshack.us/my.php?image=thuzr3.png
0 Kudos