1# Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 2# Copyright (c) 2009 The Hewlett-Packard Development Company 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 485 unchanged lines hidden (view full) --- 494 if not sequencers: 495 self.error("The L1Cache controller must include the sequencer " \ 496 "configuration parameter") 497 498 for seq in sequencers: 499 code(''' 500m_${{seq}}_ptr->setController(this); 501 ''') |
502 503 else: 504 for seq in sequencers: 505 code(''' 506m_${{seq}}_ptr->setController(this); 507 ''') 508 |
509 # 510 # For the DMA controller, pass the sequencer a pointer to the 511 # controller. 512 # 513 if self.ident == "DMA": 514 if not contains_dma_sequencer: 515 self.error("The DMA controller must include the sequencer " \ 516 "configuration parameter") --- 1158 unchanged lines hidden --- |