/*
WARNING: Do NOT edit the input and output ports in this file in a text
editor if you plan to continue editing the block that represents it in
the Block Editor! File corruption is VERY likely to occur.
*/
/*
Copyright (C) 1991-2006 Altera Corporation
Your use of Altera Corporation's design tools, logic functions 
and other software and tools, and its AMPP partner logic 
functions, and any output files from any of the foregoing 
(including device programming or simulation files), and any 
associated documentation or information are expressly subject 
to the terms and conditions of the Altera Program License 
Subscription Agreement, Altera MegaCore Function License 
Agreement, or other applicable license agreement, including, 
without limitation, that your use is for the sole purpose of 
programming logic devices manufactured by Altera and sold by 
Altera or its authorized distributors.  Please refer to the 
applicable agreement for further details.
*/
(header "symbol" (version "1.1"))
(symbol
	(rect 16 16 296 208)
	(text "Data_Memory" (rect 5 0 74 12)(font "Arial" ))
	(text "inst" (rect 8 176 25 188)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "CPU_write_data[31..0]" (rect 0 0 110 12)(font "Arial" ))
		(text "CPU_write_data[31..0]" (rect 21 27 131 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 0 48)
		(input)
		(text "CPU_address[31..0]" (rect 0 0 100 12)(font "Arial" ))
		(text "CPU_address[31..0]" (rect 21 43 121 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 3))
	)
	(port
		(pt 0 64)
		(input)
		(text "CPU_MemRead" (rect 0 0 79 12)(font "Arial" ))
		(text "CPU_MemRead" (rect 21 59 100 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "CPU_MemWrite" (rect 0 0 79 12)(font "Arial" ))
		(text "CPU_MemWrite" (rect 21 75 100 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "CPU_Clock" (rect 0 0 57 12)(font "Arial" ))
		(text "CPU_Clock" (rect 21 91 78 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 1))
	)
	(port
		(pt 0 112)
		(input)
		(text "FPGA_Clock" (rect 0 0 63 12)(font "Arial" ))
		(text "FPGA_Clock" (rect 21 107 84 119)(font "Arial" ))
		(line (pt 0 112)(pt 16 112)(line_width 1))
	)
	(port
		(pt 280 32)
		(output)
		(text "CPU_read_data[31..0]" (rect 0 0 109 12)(font "Arial" ))
		(text "CPU_read_data[31..0]" (rect 150 27 259 39)(font "Arial" ))
		(line (pt 280 32)(pt 264 32)(line_width 3))
	)
	(port
		(pt 280 80)
		(output)
		(text "sram_address[17..0]" (rect 0 0 101 12)(font "Arial" ))
		(text "sram_address[17..0]" (rect 158 75 259 87)(font "Arial" ))
		(line (pt 280 80)(pt 264 80)(line_width 3))
	)
	(port
		(pt 280 96)
		(output)
		(text "sram_not_ce" (rect 0 0 63 12)(font "Arial" ))
		(text "sram_not_ce" (rect 196 91 259 103)(font "Arial" ))
		(line (pt 280 96)(pt 264 96)(line_width 1))
	)
	(port
		(pt 280 112)
		(output)
		(text "sram_not_oe" (rect 0 0 63 12)(font "Arial" ))
		(text "sram_not_oe" (rect 196 107 259 119)(font "Arial" ))
		(line (pt 280 112)(pt 264 112)(line_width 1))
	)
	(port
		(pt 280 128)
		(output)
		(text "sram_not_we" (rect 0 0 64 12)(font "Arial" ))
		(text "sram_not_we" (rect 195 123 259 135)(font "Arial" ))
		(line (pt 280 128)(pt 264 128)(line_width 1))
	)
	(port
		(pt 280 144)
		(output)
		(text "sram_not_ub" (rect 0 0 63 12)(font "Arial" ))
		(text "sram_not_ub" (rect 196 139 259 151)(font "Arial" ))
		(line (pt 280 144)(pt 264 144)(line_width 1))
	)
	(port
		(pt 280 160)
		(output)
		(text "sram_not_lb" (rect 0 0 60 12)(font "Arial" ))
		(text "sram_not_lb" (rect 199 155 259 167)(font "Arial" ))
		(line (pt 280 160)(pt 264 160)(line_width 1))
	)
	(port
		(pt 280 48)
		(bidir)
		(text "sram_upper_byte[15..8]" (rect 0 0 118 12)(font "Arial" ))
		(text "sram_upper_byte[15..8]" (rect 141 43 259 55)(font "Arial" ))
		(line (pt 280 48)(pt 264 48)(line_width 3))
	)
	(port
		(pt 280 64)
		(bidir)
		(text "sram_lower_byte[7..0]" (rect 0 0 109 12)(font "Arial" ))
		(text "sram_lower_byte[7..0]" (rect 150 59 259 71)(font "Arial" ))
		(line (pt 280 64)(pt 264 64)(line_width 3))
	)
	(parameter
		"s_idle"
		"B\"000\""
		""
	)
	(parameter
		"s_read_lower"
		"B\"001\""
		""
	)
	(parameter
		"s_read_upper"
		"B\"010\""
		""
	)
	(parameter
		"s_write_lower"
		"B\"101\""
		""
	)
	(parameter
		"s_write_upper"
		"B\"110\""
		""
	)
	(parameter
		"s_wait_cpu"
		"B\"111\""
		""
	)
	(drawing
		(rectangle (rect 16 16 264 176)(line_width 1))
	)
	(annotation_block (parameter)(rect 296 -64 396 16))
)
