Changeset 95 for trunk/platforms/dsx/v1_1cluster_phys_dma/cluster.py
- Timestamp:
- Sep 18, 2010, 5:04:46 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/dsx/v1_1cluster_phys_dma/cluster.py
r93 r95 46 46 wti_count = 4, 47 47 irq_count = 4) 48 dma = self.create_dma( addr = 0xd1200000, burst_size = 16) 48 dma = self.create_dma( addr = 0xd1200000, burst_size = 64) 49 fb = self.create_fb( addr = 0xe2200000, width = 320, 50 height = 200, 51 subsampling = 422) 49 52 50 53 tty.irq[0] // xicu.hwi[0] … … 52 55 self.cpu[i].irq[0] // xicu.irq[i] 53 56 dma.irq // xicu.hwi[1] 57 54 58 55 59 def create_dma(self, addr, burst_size): … … 61 65 return dma 62 66 67 def create_fb(self, addr, width, height, subsampling): 68 name = 'fb%d'%self.cluster_no 69 fb = self.pf.create('caba:vci_framebuffer', name, width = width, 70 height = height, 71 subsampling = subsampling) 72 self.ringp.to_target.new() // fb.vci 73 fb.addSegment(name, address = addr, size = width * height * 2, cacheable = False) 74 return fb 63 75 64 76 def create_tty(self, addr, tty_count = 1):
Note: See TracChangeset
for help on using the changeset viewer.