OpenCores
URL https://opencores.org/ocsvn/modular_oscilloscope/modular_oscilloscope/trunk

Subversion Repositories modular_oscilloscope

[/] [modular_oscilloscope/] [trunk/] [hdl/] [ctrl/] [address_allocation.vhd] - Diff between revs 49 and 54

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 49 Rev 54
Line 188... Line 188...
 
 
 
 
  --------------------------------------------------------------------------------------------------
  --------------------------------------------------------------------------------------------------
  -- Read asignments
  -- Read asignments
  -- if reading registers, do ack, else use internal ack
  -- if reading registers, do ack, else use internal ack
  ACK_O_port <= CYC_I_port and STB_I_port and (not(ADR_I_port(3)) or ACK_I_int or not(running_I));
  ACK_O_port <= (CYC_I_port and STB_I_port) and
 
                ((not(ADR_I_port(3)) or ACK_I_int or not(running_I)));
 
 
 
 
  --------------------------------------------------------------------------------------------------
  --------------------------------------------------------------------------------------------------
  -- Internal wishbone allocation
  -- Internal wishbone allocation
  STB_O_int <= STB_I_port and ADR_I_port(3);
  STB_O_int <= STB_I_port and ADR_I_port(3);
Line 223... Line 224...
      time_scale_R <= (others => '0');
      time_scale_R <= (others => '0');
      channels_sel_R <= (others => '0');
      channels_sel_R <= (others => '0');
      buffer_size_R <= (others => '0');
      buffer_size_R <= (others => '0');
      trigger_level_R <= (others => '0');
      trigger_level_R <= (others => '0');
      trigger_offset_R <= (others => '0');
      trigger_offset_R <= (others => '0');
 
      trigger_channel_R <= (others => '0');
 
      write_in_adc_R <= '0';
 
      adc_conf_R <= (others => '0');
 
 
 
 
 
 
    -- Assignments
    -- Assignments
    elsif CYC_I_port = '1' and STB_I_port = '1' and WE_I_port = '1' and ADR_I_port(3) = '0' then
    elsif CYC_I_port = '1' and STB_I_port = '1' and WE_I_port = '1' and ADR_I_port(3) = '0' then
 
 
      case ADR_I_port(2 downto 0) is
      case ADR_I_port(2 downto 0) is

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.