- Timestamp:
- Feb 20, 2014, 5:05:50 PM (11 years ago)
- Location:
- branches/v4/platforms/tsarv4_mono_mmu_ioc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/v4/platforms/tsarv4_mono_mmu_ioc/desc.py
r639 r640 14 14 Uses('caba:vci_timer'), 15 15 Uses('caba:vci_block_device_tsar_v4'), 16 Uses('caba:vci_framebuffer'), 16 17 Uses('caba:vci_vgmn'), 17 18 Uses('caba:vci_mem_cache_v4'), -
branches/v4/platforms/tsarv4_mono_mmu_ioc/segmentation.h
r636 r640 20 20 #define BD_SIZE 0x00000020 // 8 mapped-registers 21 21 22 #define FB_XSIZE 640 23 #define FB_YSIZE 480 24 #define FB_BASE 0x20000000 25 #define FB_SIZE (FB_XSIZE * FB_YSIZE * 2) 26 22 27 #endif -
branches/v4/platforms/tsarv4_mono_mmu_ioc/top.cpp
r639 r640 33 33 #include "vci_timer.h" 34 34 #include "vci_block_device_tsar_v4.h" 35 #include "vci_framebuffer.h" 35 36 36 37 #include "vci_vgmn.h" … … 197 198 maptabd.add(Segment("timer_d" , TIMER_BASE , TIMER_SIZE , IntTab(4), false)); 198 199 maptabd.add(Segment("bd_d" , BD_BASE , BD_SIZE , IntTab(5), false)); 200 maptabd.add(Segment("fb_d" , FB_BASE , FB_SIZE , IntTab(6), false)); 199 201 200 202 std::cout << maptabd << std::endl; … … 268 270 param.dsk_path); // mapped_file[, block_size=512, latency=0] 269 271 272 VciFrameBuffer<vci_param> fb("fb", IntTab(6), maptabd, FB_XSIZE, FB_YSIZE, 273 FbController::RGB_16); 274 270 275 VciVgmn<vci_param> vgmnd("vgmnd", maptabd, 271 2, 6, // #initiators, #targets276 2, 7, // #initiators, #targets 272 277 2, 8, // min_latency, FIFO depth 273 278 IntTab(1)); // default target … … 313 318 VciSignals<vci_param> signal_vci_ini_d_bd("signal_vci_ini_d_bd"); 314 319 VciSignals<vci_param> signal_vci_tgt_d_bd("signal_vci_tgt_d_bd"); 320 321 VciSignals<vci_param> signal_vci_tgt_d_fb("signal_vci_tgt_d_fb"); 315 322 316 323 /* … … 364 371 bd.p_vci_initiator(signal_vci_ini_d_bd); 365 372 bd.p_irq(signal_bd_irq); 373 374 fb.p_clk(signal_clk); 375 fb.p_resetn(signal_resetn); 376 fb.p_vci(signal_vci_tgt_d_fb); 366 377 367 378 vgmnd.p_clk(signal_clk); … … 375 386 vgmnd.p_to_target[4](signal_vci_tgt_d_timer); 376 387 vgmnd.p_to_target[5](signal_vci_tgt_d_bd); 388 vgmnd.p_to_target[6](signal_vci_tgt_d_fb); 377 389 378 390 vgmnc.p_clk(signal_clk);
Note: See TracChangeset
for help on using the changeset viewer.