修复错误
This commit is contained in:
parent
a5a4bd1da5
commit
9a30a0a517
|
|
@ -0,0 +1 @@
|
|||
z_case_gen.ipynb
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -317,7 +317,7 @@ class AssemblyTemplateManager:
|
|||
self.mk.rw_once('r', addr_base['SYST_BASE']+reg_define['pll_reg']['INTPLL_CLKRXPD'], [0]*20, self.config_file)
|
||||
self.mk.rw_once('r', addr_base['DBGM_BASE'], [0]*2048, self.config_file)
|
||||
|
||||
def instruction_config(mk_instance, mk_instr, **kwargs):
|
||||
asm_templates = AssemblyTemplateManager(mk_instance, mk_instr, **kwargs)
|
||||
machine_codes = asm_templates.create_instructions(**kwargs)
|
||||
asm_templates._write_machine_codes_to_chip(machine_codes, **kwargs)
|
||||
def instruction_config(mk_instance, mk_instr, **kwargs):
|
||||
asm_templates = AssemblyTemplateManager(mk_instance, mk_instr, **kwargs)
|
||||
machine_codes = asm_templates.create_instructions(**kwargs)
|
||||
asm_templates._write_machine_codes_to_chip(machine_codes, **kwargs)
|
||||
|
|
|
|||
|
|
@ -361,6 +361,6 @@ class ZChipConfig(object):
|
|||
return None
|
||||
|
||||
|
||||
def config_chip_reg(mk_instance, **kwargs):
|
||||
config = ZChipConfig(mk_instance, **kwargs)
|
||||
config._general_reg_config(**kwargs)
|
||||
def config_chip_reg(mk_instance, **kwargs):
|
||||
config = ZChipConfig(mk_instance, **kwargs)
|
||||
config._general_reg_config(**kwargs)
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue