Add theme for AMD/Xilinx Vivado tool

This commit is contained in:
Konstantin Pavlov (ug) 2023-04-11 10:07:56 +03:00
commit 24340d71a6

24
colout/colout_vivado.py Normal file
View file

@ -0,0 +1,24 @@
def theme(context):
# Theme for coloring AMD/Xilinx Vivado IDE synthesis and implementation output
return context,[
[ "^#.+", "green" ],
[ "^.+ Checksum: .+$", "green" ],
[ "^.+Time \(s\).+", "green" ],
[ "^Time \(s\).+", "green" ],
[ "Estimated Timing Summary \|.+\|.+\|", "cyan", "bold" ],
[ "Intermediate Timing Summary \|.+\|.+\|", "cyan", "bold" ],
[ "^INFO:", "white", "bold" ],
[ "^WARNING:.+$", "yellow" ],
[ "^CRITICAL WARNING:.+$", "red" ],
[ "^ERROR:.+$", "red" ],
[ "^Phase [0-9]+.[0-9]+.[0-9]+.[0-9]+.+$", "magenta", "bold" ],
[ "^Phase [0-9]+.[0-9]+.[0-9]+.+$", "magenta", "bold" ],
[ "^Phase [0-9]+.[0-9]+.+$", "magenta", "bold" ],
[ "^Phase [0-9]+.+$", "magenta", "bold" ]
]