Bug 328

Summary: move decoder RB exts function into nmutil
Product: Libre-SOC's first SoC Reporter: Luke Kenneth Casson Leighton <lkcl>
Component: Source CodeAssignee: Luke Kenneth Casson Leighton <lkcl>
Status: RESOLVED FIXED    
Severity: enhancement CC: libre-soc-bugs
Priority: ---    
Version: unspecified   
Hardware: Other   
OS: Linux   
See Also: https://bugs.libre-soc.org/show_bug.cgi?id=305
NLnet milestone: --- total budget (EUR) for completion of task and all subtasks: 0
budget (EUR) for this task, excluding subtasks' budget: 0 parent task for budget allocation:
child tasks for budget allocation: The table of payments (in EUR) for this task; TOML format:

Description Luke Kenneth Casson Leighton 2020-05-20 07:06:10 BST
https://git.libre-soc.org/?p=soc.git;a=blob;f=src/soc/decoder/power_decoder2.py;h=862c5ea3e72c138edbe19f5b1a937238e35883ad;hb=HEAD

exts is really useful and code duplication occurs in alu main_pipe OP_EXTS.

creating nmutil/exts.py would help avoid duplication
Comment 1 Luke Kenneth Casson Leighton 2020-05-21 18:48:16 BST
found a few places where sign extension can be done