Line 1... |
Line 1... |
-- $Id: nx_cram_memctl_as.vhd 563 2014-06-22 15:49:09Z mueller $
|
-- $Id: nx_cram_memctl_as.vhd 644 2015-02-08 22:56:54Z mueller $
|
--
|
--
|
-- Copyright 2010-2011 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
-- Copyright 2010-2011 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
--
|
--
|
-- This program is free software; you may redistribute and/or modify it under
|
-- This program is free software; you may redistribute and/or modify it under
|
-- the terms of the GNU General Public License as published by the Free
|
-- the terms of the GNU General Public License as published by the Free
|
Line 19... |
Line 19... |
-- vlib/xlib/iob_reg_o_gen
|
-- vlib/xlib/iob_reg_o_gen
|
-- vlib/xlib/iob_reg_io_gen
|
-- vlib/xlib/iob_reg_io_gen
|
-- Test bench: tb/tb_nx_cram_memctl_as
|
-- Test bench: tb/tb_nx_cram_memctl_as
|
-- sys_gen/tst_sram/nexys2/tb/tb_tst_sram_n2
|
-- sys_gen/tst_sram/nexys2/tb/tb_tst_sram_n2
|
-- Target Devices: generic
|
-- Target Devices: generic
|
-- Tool versions: xst 11.4, 13.1; ghdl 0.26
|
-- Tool versions: ise 11.4-14.7; viv 2014.4; ghdl 0.26-0.31
|
--
|
--
|
-- Synthesized (xst):
|
-- Synthesized (xst):
|
-- Date Rev ise Target flop lutl lutm slic t peri
|
-- Date Rev ise Target flop lutl lutm slic t peri
|
-- 2010-06-03 299 11.4 L68 xc3s1200e-4 91 100 0 96 s 6.7
|
-- 2010-06-03 299 11.4 L68 xc3s1200e-4 91 100 0 96 s 6.7
|
-- 2010-05-24 294 11.4 L68 xc3s1200e-4 91 99 0 95 s 6.7
|
-- 2010-05-24 294 11.4 L68 xc3s1200e-4 91 99 0 95 s 6.7
|
Line 180... |
Line 180... |
memdo0 : slv16; -- mem data out, low word
|
memdo0 : slv16; -- mem data out, low word
|
memdi : slv32; -- mem data in
|
memdi : slv32; -- mem data in
|
end record regs_type;
|
end record regs_type;
|
|
|
constant regs_init : regs_type := (
|
constant regs_init : regs_type := (
|
s_idle, --
|
s_idle, -- state
|
'0', -- ackr
|
'0', -- ackr
|
'0', -- addr0
|
'0', -- addr0
|
"00", -- be2nd
|
"00", -- be2nd
|
(others=>'0'), -- cntdly
|
(others=>'0'), -- cntdly
|
(others=>'0'), -- cntce
|
(others=>'0'), -- cntce
|