AXI4VGA.scala (510ae4ee6820204606a64d649eefa05784ab6021) | AXI4VGA.scala (3c02ee8f82edea481fa8336c7f54ffc17fafba91) |
---|---|
1/*************************************************************************************** 2* Copyright (c) 2020-2021 Institute of Computing Technology, Chinese Academy of Sciences 3* Copyright (c) 2020-2021 Peng Cheng Laboratory 4* 5* XiangShan is licensed under Mulan PSL v2. 6* You can use this software according to the terms and conditions of the Mulan PSL v2. 7* You may obtain a copy of Mulan PSL v2 at: 8* http://license.coscl.org.cn/MulanPSL2 --- 9 unchanged lines hidden (view full) --- 18 19import chisel3._ 20import chisel3.util._ 21import chipsalliance.rocketchip.config.Parameters 22import chisel3.experimental.ExtModule 23import freechips.rocketchip.amba.axi4.{AXI4AdapterNode, AXI4IdentityNode, AXI4Parameters, AXI4SlaveNode, AXI4SlaveParameters, AXI4SlavePortParameters, AXI4Xbar} 24import freechips.rocketchip.diplomacy.{AddressSet, LazyModule, LazyModuleImp, RegionType} 25import utils._ | 1/*************************************************************************************** 2* Copyright (c) 2020-2021 Institute of Computing Technology, Chinese Academy of Sciences 3* Copyright (c) 2020-2021 Peng Cheng Laboratory 4* 5* XiangShan is licensed under Mulan PSL v2. 6* You can use this software according to the terms and conditions of the Mulan PSL v2. 7* You may obtain a copy of Mulan PSL v2 at: 8* http://license.coscl.org.cn/MulanPSL2 --- 9 unchanged lines hidden (view full) --- 18 19import chisel3._ 20import chisel3.util._ 21import chipsalliance.rocketchip.config.Parameters 22import chisel3.experimental.ExtModule 23import freechips.rocketchip.amba.axi4.{AXI4AdapterNode, AXI4IdentityNode, AXI4Parameters, AXI4SlaveNode, AXI4SlaveParameters, AXI4SlavePortParameters, AXI4Xbar} 24import freechips.rocketchip.diplomacy.{AddressSet, LazyModule, LazyModuleImp, RegionType} 25import utils._ |
26import utility._ |
|
26 27trait HasVGAConst { 28 val ScreenW = 800 29 val ScreenH = 600 30 31 val HFrontPorch = 56 32 val HActive = HFrontPorch + 120 33 val HBackPorch = HActive + ScreenW --- 226 unchanged lines hidden --- | 27 28trait HasVGAConst { 29 val ScreenW = 800 30 val ScreenH = 600 31 32 val HFrontPorch = 56 33 val HActive = HFrontPorch + 120 34 val HBackPorch = HActive + ScreenW --- 226 unchanged lines hidden --- |