<s> from migen . build . generic_platform import * <EOL> from migen . build . altera import AlteraPlatform <EOL> from migen . build . altera . programmer import USBBlaster <EOL> _io = [ <EOL> ( "<STR_LIT>" , <NUM_LIT:0> , Pins ( "<STR_LIT>" ) , IOStandard ( "<STR_LIT>" ) ) , <EOL> ( "<STR_LIT>" , <NUM_LIT:0> , Pins ( "<STR_LIT>" ) , IOStandard ( "<STR_LIT>" ) ) , <EOL> ( "<STR_LIT>" , <NUM_LIT:1> , Pins ( "<STR_LIT>" ) , IOStandard ( "<STR_LIT>" ) ) , <EOL> ( "<STR_LIT>" , <NUM_LIT:2> , Pins ( "<STR_LIT>" ) , IOStandard ( "<STR_LIT>" ) ) , <EOL> ( "<STR_LIT>" , <NUM_LIT:3> , Pins ( "<STR_LIT>" ) , IOStandard ( "<STR_LIT>" ) ) , <EOL> ( "<STR_LIT>" , <NUM_LIT:4> , Pins ( "<STR_LIT>" ) , IOStandard ( "<STR_LIT>" ) ) , <EOL> ( "<STR_LIT>" , <NUM_LIT:5> , Pins ( "<STR_LIT>" ) , IOStandard ( "<STR_LIT>" ) ) , <EOL> ( "<STR_LIT>" , <NUM_LIT:6> , Pins ( "<STR_LIT>" ) , IOStandard ( "<STR_LIT>" ) ) , <EOL> ( "<STR_LIT>" , <NUM_LIT:7> , Pins ( "<STR_LIT>" ) , IOStandard ( "<STR_LIT>" ) ) , <EOL> ( "<STR_LIT:key>" , <NUM_LIT:0> , Pins ( "<STR_LIT>" ) , IOStandard ( "<STR_LIT>" ) ) , <EOL> ( "<STR_LIT:key>" , <NUM_LIT:1> , Pins ( "<STR_LIT>" ) , IOStandard ( "<STR_LIT>" ) ) , <EOL> ( "<STR_LIT>" , <NUM_LIT:0> , Pins ( "<STR_LIT>" ) , IOStandard ( "<STR_LIT>" ) ) , <EOL> ( "<STR_LIT>" , <NUM_LIT:1> , Pins ( "<STR_LIT>" ) , IOStandard ( "<STR_LIT>" ) ) , <EOL> ( "<STR_LIT>" , <NUM_LIT:2> , Pins ( "<STR_LIT>" ) , IOStandard ( "<STR_LIT>" ) ) , <EOL> ( "<STR_LIT>" , <NUM_LIT:3> , Pins ( "<STR_LIT>" ) , IOStandard ( "<STR_LIT>" ) ) , <EOL> ( "<STR_LIT>" , <NUM_LIT:0> , <EOL> Subsignal ( "<STR_LIT>" , Pins ( "<STR_LIT>" ) , IOStandard ( "<STR_LIT>" ) ) , <EOL> Subsignal ( "<STR_LIT>" , Pins ( "<STR_LIT>" ) , IOStandard ( "<STR_LIT>" ) ) <EOL> ) , <EOL> ( "<STR_LIT>" , <NUM_LIT:0> , Pins ( "<STR_LIT>" ) , IOStandard ( "<STR_LIT>" ) ) , <EOL> ( "<STR_LIT>" , <NUM_LIT:0> , <EOL> Subsignal ( "<STR_LIT:a>" , Pins ( "<STR_LIT>" ) ) , <EOL> Subsignal ( "<STR_LIT>" , Pins ( "<STR_LIT>" ) ) , <EOL> Subsignal ( "<STR_LIT>" , Pins ( "<STR_LIT>" ) ) , <EOL> Subsignal ( "<STR_LIT>" , Pins ( "<STR_LIT>" ) ) , <EOL> Subsignal ( "<STR_LIT>" , Pins ( "<STR_LIT>" ) ) , <EOL> Subsignal ( "<STR_LIT>" , Pins ( "<STR_LIT>" ) ) , <EOL> Subsignal ( "<STR_LIT>" , Pins ( "<STR_LIT>" ) ) , <EOL> Subsignal ( "<STR_LIT>" , Pins ( "<STR_LIT>" ) ) , <EOL> Subsignal ( "<STR_LIT>" , Pins ( "<STR_LIT>" ) ) , <EOL> IOStandard ( "<STR_LIT>" ) <EOL> ) , <EOL> ( "<STR_LIT>" , <NUM_LIT:0> , <EOL> Subsignal ( "<STR_LIT>" , Pins ( "<STR_LIT>" ) ) , <EOL> Subsignal ( "<STR_LIT>" , Pins ( "<STR_LIT>" ) ) , <EOL> Subsignal ( "<STR_LIT>" , Pins ( "<STR_LIT>" ) ) , <EOL> Subsignal ( "<STR_LIT>" , Pins ( "<STR_LIT>" ) ) , <EOL> IOStandard ( "<STR_LIT>" ) <EOL> ) , <EOL> ( "<STR_LIT>" , <NUM_LIT:0> , <EOL> Subsignal ( "<STR_LIT>" , Pins ( "<STR_LIT>" ) ) , <EOL> Subsignal ( "<STR_LIT>" , Pins ( "<STR_LIT>" ) ) , <EOL> IOStandard ( "<STR_LIT>" ) <EOL> ) , <EOL> ( "<STR_LIT>" , <NUM_LIT:0> , <EOL> Subsignal ( "<STR_LIT>" , Pins ( "<STR_LIT>" ) ) , <EOL> Subsignal ( "<STR_LIT:int>" , Pins ( "<STR_LIT>" ) ) , <EOL> IOStandard ( "<STR_LIT>" ) <EOL> ) , <EOL> ( "<STR_LIT>" , <NUM_LIT:0> , <EOL> Subsignal ( "<STR_LIT>" , Pins ( "<STR_LIT>" ) ) , <EOL> Subsignal ( "<STR_LIT>" , Pins ( "<STR_LIT>" ) ) , <EOL> Subsignal ( "<STR_LIT>" , Pins ( "<STR_LIT>" ) ) , <EOL> Subsignal ( "<STR_LIT>" , Pins ( "<STR_LIT>" ) ) , <EOL> IOStandard ( "<STR_LIT>" ) <EOL> ) , <EOL> ( "<STR_LIT>" , <NUM_LIT:0> , <EOL> Pins ( "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" ) , <EOL> IOStandard ( "<STR_LIT>" ) <EOL> ) , <EOL> ( "<STR_LIT>" , <NUM_LIT:0> , <EOL> Pins ( "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" ) , <EOL> IOStandard ( "<STR_LIT>" ) <EOL> ) , <EOL> ( "<STR_LIT>" , <NUM_LIT:0> , <EOL> Pins ( "<STR_LIT>" ) , <EOL> IOStandard ( "<STR_LIT>" ) <EOL> ) , <EOL> ] <EOL> class Platform ( AlteraPlatform ) : <EOL> default_clk_name = "<STR_LIT>" <EOL> default_clk_period = <NUM_LIT:20> <EOL> def __init__ ( self ) : <EOL> AlteraPlatform . __init__ ( self , "<STR_LIT>" , _io ) <EOL> def create_programmer ( self ) : <EOL> return USBBlaster ( ) </s>
