Skip to content

Commit

Permalink
Merge branch 'devel'
Browse files Browse the repository at this point in the history
  • Loading branch information
lerwys committed Nov 12, 2017
2 parents be19bc6 + 5b9fd4c commit d79cf4e
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 23 deletions.
2 changes: 1 addition & 1 deletion hdl/ip_cores/infra-cores
Submodule infra-cores updated 26 files
+2 −1 modules/wishbone/Manifest.py
+280 −199 modules/wishbone/ifc_wishbone_pkg.vhd
+4 −0 modules/wishbone/wb_acq_core/acq_core_pkg.vhd
+33 −2 modules/wishbone/wb_acq_core/wb_acq_core.vhd
+38 −7 modules/wishbone/wb_acq_core/wbgen/acq_core.wb
+17 −11 modules/wishbone/wb_acq_core/wbgen/acq_core_regs.vhd
+14 −5 modules/wishbone/wb_acq_core/wbgen/acq_core_regs_pkg.vhd
+79 −16 modules/wishbone/wb_acq_core/wbgen/doc/wb_acq_core.html
+24 −9 modules/wishbone/wb_acq_core/wbgen/wb_acq_core_regs.h
+6 −2 modules/wishbone/wb_acq_core_mux/wb_acq_core_mux.vhd
+1 −1 modules/wishbone/wb_acq_core_mux/wb_acq_core_mux_plain.vhd
+1 −1 modules/wishbone/wb_acq_core_mux/xwb_acq_core_mux.vhd
+6 −0 modules/wishbone/wb_afc_mgmt/Manifest.py
+347 −0 modules/wishbone/wb_afc_mgmt/wb_afc_mgmt.vhd
+116 −0 modules/wishbone/wb_afc_mgmt/wbgen/afc_mgmt_regs.vhd
+47 −0 modules/wishbone/wb_afc_mgmt/wbgen/afc_mgmt_regs.wb
+74 −0 modules/wishbone/wb_afc_mgmt/wbgen/afc_mgmt_regs_pkg.vhd
+3 −0 modules/wishbone/wb_afc_mgmt/wbgen/build_wb.sh
+810 −0 modules/wishbone/wb_afc_mgmt/wbgen/doc/afc_mgmt_regs_wb.html
+56 −0 modules/wishbone/wb_afc_mgmt/wbgen/wb_afc_mgmt_regs.h
+86 −0 modules/wishbone/wb_afc_mgmt/xwb_afc_mgmt.vhd
+6 −2 modules/wishbone/wb_facq_core_mux/wb_facq_core_mux.vhd
+1 −1 modules/wishbone/wb_facq_core_mux/wb_facq_core_mux_plain.vhd
+1 −1 modules/wishbone/wb_facq_core_mux/xwb_facq_core_mux.vhd
+8 −0 sim/regs/afc_mgmt_regs.vh
+9 −3 sim/regs/wb_acq_core_regs.vh
14 changes: 7 additions & 7 deletions hdl/top/afc_v3/vivado/dbe_bpm/dbe_bpm.xdc
Original file line number Diff line number Diff line change
Expand Up @@ -1164,13 +1164,13 @@ resize_pblock [get_pblocks GRP_pcie_core] -add {CLOCKREGION_X0Y4:CLOCKREGION_X0Y
#resize_pblock [get_pblocks GRP_fmc2] -add {CLOCKREGION_X0Y0:CLOCKREGION_X0Y2}
#
## Constraint Position Calc Cores
create_pblock GRP_position_calc_core1
add_cells_to_pblock [get_pblocks GRP_position_calc_core1] [get_cells -hier -filter {NAME =~ *cmp1_xwb_position_calc_core/cmp_wb_position_calc_core/*}]
resize_pblock [get_pblocks GRP_position_calc_core1] -add {CLOCKREGION_X1Y2:CLOCKREGION_X1Y4}

create_pblock GRP_position_calc_core2
add_cells_to_pblock [get_pblocks GRP_position_calc_core2] [get_cells -hier -filter {NAME =~ *cmp2_xwb_position_calc_core/cmp_wb_position_calc_core/*}]
resize_pblock [get_pblocks GRP_position_calc_core2] -add {CLOCKREGION_X0Y0:CLOCKREGION_X0Y2}
#create_pblock GRP_position_calc_core1
#add_cells_to_pblock [get_pblocks GRP_position_calc_core1] [get_cells -hier -filter {NAME =~ *cmp1_xwb_position_calc_core/cmp_wb_position_calc_core/*}]
#resize_pblock [get_pblocks GRP_position_calc_core1] -add {CLOCKREGION_X1Y2:CLOCKREGION_X1Y4}
#
#create_pblock GRP_position_calc_core2
#add_cells_to_pblock [get_pblocks GRP_position_calc_core2] [get_cells -hier -filter {NAME =~ *cmp2_xwb_position_calc_core/cmp_wb_position_calc_core/*}]
#resize_pblock [get_pblocks GRP_position_calc_core2] -add {CLOCKREGION_X0Y0:CLOCKREGION_X0Y2}
#
## Place acquisition core 0
#create_pblock GRP_acq_core_0
Expand Down
14 changes: 7 additions & 7 deletions hdl/top/afc_v3/vivado/dbe_bpm2/dbe_bpm2.xdc
Original file line number Diff line number Diff line change
Expand Up @@ -1328,13 +1328,13 @@ resize_pblock [get_pblocks GRP_pcie_core] -add {CLOCKREGION_X0Y4:CLOCKREGION_X0Y
#resize_pblock [get_pblocks GRP_fmc2] -add {CLOCKREGION_X0Y0:CLOCKREGION_X0Y2}
#
## Constraint Position Calc Cores
create_pblock GRP_position_calc_core1
add_cells_to_pblock [get_pblocks GRP_position_calc_core1] [get_cells -hier -filter {NAME =~ *cmp1_xwb_position_calc_core/cmp_wb_position_calc_core/*}]
resize_pblock [get_pblocks GRP_position_calc_core1] -add {CLOCKREGION_X1Y2:CLOCKREGION_X1Y4}

create_pblock GRP_position_calc_core2
add_cells_to_pblock [get_pblocks GRP_position_calc_core2] [get_cells -hier -filter {NAME =~ *cmp2_xwb_position_calc_core/cmp_wb_position_calc_core/*}]
resize_pblock [get_pblocks GRP_position_calc_core2] -add {CLOCKREGION_X0Y0:CLOCKREGION_X0Y2}
#create_pblock GRP_position_calc_core1
#add_cells_to_pblock [get_pblocks GRP_position_calc_core1] [get_cells -hier -filter {NAME =~ *cmp1_xwb_position_calc_core/cmp_wb_position_calc_core/*}]
#resize_pblock [get_pblocks GRP_position_calc_core1] -add {CLOCKREGION_X1Y2:CLOCKREGION_X1Y4}
#
#create_pblock GRP_position_calc_core2
#add_cells_to_pblock [get_pblocks GRP_position_calc_core2] [get_cells -hier -filter {NAME =~ *cmp2_xwb_position_calc_core/cmp_wb_position_calc_core/*}]
#resize_pblock [get_pblocks GRP_position_calc_core2] -add {CLOCKREGION_X0Y0:CLOCKREGION_X0Y2}
#
## Place acquisition core 0
#create_pblock GRP_acq_core_0
Expand Down
20 changes: 12 additions & 8 deletions hdl/top/afc_v3/vivado/dbe_bpm_gen/dbe_bpm_gen.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ architecture rtl of dbe_bpm_gen is
constant c_slv_sdb_top_syn_id : natural := 16;
constant c_slv_sdb_dsp_cores_id : natural := 17;
constant c_slv_sdb_gen_cores_id : natural := 18;
constant c_slv_sdb_infra_cores_id : natural := 19;

-- Number of masters
constant c_masters : natural := 2; -- RS232-Syscon, PCIe
Expand All @@ -673,7 +674,14 @@ architecture rtl of dbe_bpm_gen is

constant c_acq_fifo_size : natural := 1024;

-- Number of acquisition cores (FMC1, FMC2, Post Mortem 1, Post Mortem 2)
constant c_acq_num_cores : natural := 4;
-- Type of DDR3 core interface
constant c_ddr_interface_type : string := "AXIS";

constant c_acq_addr_width : natural := c_ddr_addr_width;
-- Post-Mortem Acq Cores dont need Multishot. So, set them to 0
constant c_acq_multishot_ram_size : t_property_value_array(c_acq_num_cores-1 downto 0) := (0, 0, 4096, 4096);
constant c_acq_ddr_addr_res_width : natural := 32;
constant c_acq_ddr_addr_diff : natural := c_acq_ddr_addr_res_width-c_ddr_addr_width;

Expand All @@ -698,11 +706,6 @@ architecture rtl of dbe_bpm_gen is

constant c_acq_pos_ddr3_width : natural := 32;

-- Number of acquisition cores (FMC1, FMC2, Post Mortem 1, Post Mortem 2)
constant c_acq_num_cores : natural := 4;
-- Type of DDR3 core interface
constant c_ddr_interface_type : string := "AXIS";

-- Acquisition core IDs
constant c_acq_core_0_id : natural := 0;
constant c_acq_core_1_id : natural := 1;
Expand Down Expand Up @@ -811,7 +814,7 @@ architecture rtl of dbe_bpm_gen is
constant c_periph_bridge_sdb : t_sdb_bridge := f_xwb_bridge_manual_sdb(x"00000FFF", x"00000400");

-- WB SDB (Self describing bus) layout
constant c_layout : t_sdb_record_array(c_slaves+4-1 downto 0) :=
constant c_layout : t_sdb_record_array(c_slaves+5-1 downto 0) :=
(c_slv_pos_calc_1_id => f_sdb_embed_bridge(c_pos_calc_core_bridge_sdb,
x"00310000"), -- Position Calc Core 1 control port
c_slv_fmc_adc_1_id => f_sdb_embed_bridge(c_fmc_adc_bridge_sdb, x"00320000"), -- FMC_ADC control 1 port
Expand All @@ -832,7 +835,8 @@ architecture rtl of dbe_bpm_gen is
c_slv_sdb_repo_url_id => f_sdb_embed_repo_url(c_sdb_repo_url),
c_slv_sdb_top_syn_id => f_sdb_embed_synthesis(c_sdb_top_syn_info),
c_slv_sdb_dsp_cores_id => f_sdb_embed_synthesis(c_sdb_dsp_cores_syn_info),
c_slv_sdb_gen_cores_id => f_sdb_embed_synthesis(c_sdb_general_cores_syn_info)
c_slv_sdb_gen_cores_id => f_sdb_embed_synthesis(c_sdb_general_cores_syn_info),
c_slv_sdb_infra_cores_id => f_sdb_embed_synthesis(c_sdb_infra_cores_syn_info)
);

-- Self Describing Bus ROM Address. It will be an addressed slave as well
Expand Down Expand Up @@ -3958,7 +3962,7 @@ begin
g_ddr_payload_width => c_ddr_payload_width,
g_ddr_dq_width => c_ddr_dq_width,
g_ddr_addr_width => c_ddr_addr_width,
--g_multishot_ram_size => 2048,
g_multishot_ram_size => c_acq_multishot_ram_size,
g_fifo_fc_size => c_acq_fifo_size,
--g_sim_readback => false
g_acq_num_cores => c_acq_num_cores,
Expand Down

0 comments on commit d79cf4e

Please sign in to comment.