自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(30)
  • 收藏
  • 关注

原创 投简历 day 1

关系就像走路,我走了99步,但对方1步都不愿意迈进,那就算了--------plan1.case study2.改简历3.投简历x10

2022-02-17 05:21:53 129

原创 12.4 是焦虑的味道

起因是我

2021-12-04 19:02:07 136

原创 onsite 反思点

真的是尽力了1.syntax:不重要2.rtl->debug3.logic thinking-太tmd玄学了=====几个可惜的点1.cache size 计算,tlb直接让我脑子当机了2.fifo 深度计算,md,我不行了

2021-09-10 11:08:21 141

原创 9.7 8道题

1.Leetcode第一道6742.leetcode第二道7033.leetcode第三道1886todo:看了视频,哎,还矩阵操作,线性代数,md4.leetcode第四道1582todo:用了特殊函数5.墙上review:axi,ahb,apb6.cdc单个电平的时钟跨越Module cdc;Input data_in;Output data_out;Reg data_in_f;Reg data_in_ff;alway...

2021-09-08 11:52:19 127

原创 9.6 16道题

1.3 4:1 mux ==》8 input and2.divide and conquer3. Test bench architecture blocks.(asked to write a generalized code to implement gen and bfm)4.Implement Linked list in hardware1.Address store in fifo2.Data store in SRAM mem array5. You ..

2021-09-07 11:49:02 90

原创 9.5 7leetcode+digital review

10:00左右开的工1.review hold time/setup time2.cdc:mtbf~1/(f_clk*f_input_data_changing)3.leetcode第一道:680回文1.s[::-1]==s太brute了,慢死了2.双指针,有个bug是,不确定出现偏差时,丢左or丢右3.greedy就把丢右and丢左,各自丢进recursive,来双指针对比!4.leetcode第二道:409hash_tab5.leetco...

2021-09-06 11:16:24 72

原创 9.4 perl review+5道leetcode

9.41.perl review$string定义用my:my $str =“./ file.txt”; 打开file的句柄,并导入$:open my $IN, ‘<’, $in or die;3.拼接string:$sr=$sr.$j@arr 1.shift $element=shift (@data)1.@data的第一个元素被剥除了2.$element可接收pop出来的foreach my $j(@data);@ARGVwhat?...

2021-09-05 09:50:45 270

原创 9.3 5道leetcode

5 leetcode+5 verilog===========第一道1893总之,之前的思路偏了,想岔了,还和主旨偏离了,导致总有奇奇怪怪的corner case没有顾及到这次,用1 mark起点,-1 mark终止的起点,然后,从1开始积累,直到看到-1,结束,每个element都这样,独自,互不干扰,最后是范围内的都是1,重叠部分可以是1++第二道1941python的hash_map怎么遍历?for key in hash_map:hash_map[...

2021-09-04 12:18:12 129

原创 9.2 5道半leetcode+2verilog+ques lists

3031.这个题有点古怪地简单,有价值的一点是def _init_(self,nums):self.nums=nums2.看了答案,think了一下,我懂它想要我干什么了!用了pre_sum,又快又小,好~724for j in range(1,len(nums)):j==0的情况丢了,那就离谱了,哎呀喂1413同上21588Draw个图,k是个sum块,极端情况,拧出来写1732done,2个max嵌套,不要遗漏了...

2021-09-03 10:38:15 360

原创 9.1 8道digital

1.Give two ways of converting a two input NAND gate to an inverter?ab short circuit a or b connect to 12. Design a generator, to produce the following sequence:0 → 1 → 1 → 1 → 2 → 2 → 3 → 4 → 5 → 7 → 9 → 12 → 16 → 21 → 28 → 37 → 0 → 1 → 1 → 1 → 2 → …..

2021-09-02 10:48:53 142

原创 8.31 面试分析

5 道uvm+5道leetcode+举铁+面试+上课=====第一道how to avoid race condition between Tb and dut?verilog1.phase diff of clock for dut and tb2.dut onpos, Tb on neg3.output for Tb and dut driven by non blockingsv1.clocking blocks in interface2.program...

2021-09-01 02:11:22 128

原创 8.30:3h的课+5道leetcode+5道uvm coding

110depth-first search1022recursive append进an这个list中404记住末端极限,mark一个left_flag563Binary tree tiltBreak down into 2 questions1.sum_of_a_subtree2.dist=what1971记录一下,1971对我进行的心理创伤(学习之事,万万不可和同辈交流,要自己研究怎么提高反馈系统)5道uvm1.写s..

2021-08-31 04:21:30 513

原创 8.29 10道matrix+10道uvm/sv review

661 image smoother平均它及其周围的8个数,懂了733dft,抄昨天的island perimeter写法,recursive的depth-first search766只需要iterate即可,好~832Flipping an image1.一半的iterate2.y=1^x867transpose matrix如何新建一个new_mapnew_map =[[0]*len(matrix) for i in range(l.

2021-08-30 07:38:28 133

原创 8.28 休息

todo1.10道leetcode:matrix2.eric知识点:+103.11点am去举铁=============

2021-08-29 06:49:52 95

原创 8.27 过一遍墙上知识点

todo1.整理python语法2.整理review墙3.5道leetcode,sliding window4.整理eric 知识点5.根据面试结果,决定面试之后休不休息,如果反馈不好,我就review recording,如果反馈好,我就面完休息,明天review recoding====================...

2021-08-28 06:02:48 296

原创 8.26 wokt1/leeode/dig

学习+work out日记———weekly 3 work out举铁了(50分钟)3x5x5深蹲:25blx2+20kg卧推:20kg+5blx2,中心高度:10硬拉:20kg+10blx2我知道我菜且水,但我是新手呀———10道leetcode———405记住一些好的写法,可以为之后的题,提高效率1: num== 0:特殊考虑【2: num<0,0>X>=-2**nx=x+2**(n+1)’】+【上墙】3:ha...

2021-08-27 09:43:53 103

原创 8.25 10道leetcode(stack+math)

20hash_list应该先定义,再赋值Hash_list[‘)’]=‘(‘这题做了3次,跨越长达一年,也总算是熟练了呀,leetcode做着还是蛮快乐的155熟练就好2252 queues?一个就能做呀?496不用stack也可以做,用while和if的时候,要想一想589对N-ary tree进行preorder traversal把an放在def里,append(root.val)然后遍历child in root.chi...

2021-08-26 04:30:04 107

原创 8.24 10道2 pointers

今天记录1.1025=recursive+dp_listint(pow(n, 0.5))开平方根2.再刷1道dp1646: dp_list3.26: done!4.27:done!和26一个逻辑5.28:该死的28,错误的指针用法,会让我被边界条件逼疯,纠缠于正确答案的临界点,更容易消耗时间6.345‘’.join(list_s)S.lower()7.541: 0%k==0破破烂烂,但其实和我思路差不多.

2021-08-25 08:36:36 70

原创 8.23记录做事

前一天紧张失眠,早上起来太晚了,做早饭/咖啡1.【12点坐在镜头前mock interview, introduce myself 】2.【面试反馈1.回答问题rush out,有点抢答的感觉,应该听清楚了再回答2.do research on company(偷懒划水不搞,导致对方认为我不上心???)3.声音有点柔柔弱弱的,导致interviewer 不敢给出反馈】3.【随后,复盘以往面试题,写在了纸条上,思考adder题的正确答案,...

2021-08-24 14:10:32 121

原创 8.22的leetcode+failed coding test

今天起来刷了一道dp leetcode然后,上英语课,发泄负面情绪然后,做oa,做不出来,sad,放弃刷4道 dp leetcode刷glassdoor interview questions1.bit manipulation: 这个网站讲的很好,to do 总结贴墙上2.fifo depth:最后两个没看懂3.constraint 题: todoreview墙上没有strength===每天10点之后,应该强制休息每学习6天,应该有半天强制休息(下一次强制

2021-08-23 10:27:41 128

原创 8.21 binary search

572想了半天怎么迭代和写function,结果还是把node转换成str,直接写in,最简单粗暴方便35在一个list里插入目标intl=0(最小index)r=len(nums)(最大index)mid=(r+l)//2l=mid+1While l<r69简单明了地考虑x卡在中间的情况,比抓破脑袋思考边界所导致的corner case更高级While l<=r !记住!167不是2分法,应该归纳到双指针,每次颗粒数为1...

2021-08-22 06:41:05 76

原创 8.20 10道binary tree 总结

感谢回国散心的那段时间,思考了很多人际关系的问题,也下定决心分清我的责任和义务,万事万物皆有轻重缓急之分。学习/事业/找工作 +每周三次的举铁锻炼 + 融入接纳/简单/安全/舒服的人际圈是的,我的技术是需要提高,最近的3次面试也再次提醒我,让我看到我的缺点,让我惊醒,坐起来继续忙碌奋斗,csdn是唯一的没有公开给朋友的地方,这也是我的隐私小地。====================================================================面试反馈.

2021-08-21 11:50:05 59

原创 7.13 review 7.12

【leetcode】167.Two Sum II - Input array is sorted方法一:hash1.将i写成index 或想成index,可以避免犯index的错2.index是数列的下标,从0开始起,return 要求从1开始方法二:2 pointer(因为是sorted)利用sorted的特性【uvm 网课】uvm_scoreboarduvm_in_order_comparator #(type T)uvm_algorithm_comparat..

2021-07-13 09:41:47 98

原创 7.12 review 7.11

【leetcode】448.Find All Numbers Disappeared in an Array1.sort,找缺的gap2.if not in xxx,append xxx172.Factorial Trailing Zeroes 1个5,1个0【uvm 网课】==1==build phase:实例化,配置的config 机制uvm_config_db #(T) :: set/get( uvm_compon...

2021-07-12 10:36:44 193

原创 sv review 专题

【sv 专题】1.class 和 module 的异同?1.1:sv的三大特性:inheritance/polymorphism/encapsulation1.2:dynamic 与 static1.3: 同定义 method 和 variable2.interface 和 virtual interface?2.1:virtual interface是指针,可以传到class里,省掉了initiate;2.2:interface连接class和module;3.cl

2021-07-09 14:20:47 125

原创 7.9 review 7.7

【leetcode】linked lists1.linked list cycle2.Intersection of Two Linked Lists注意点:1.hash_map 法nodes_seen=set() ; ;nodes_seen=[]nodes_seen.add(head) ; ;nodes_seen.append(head)1.1.head 是ListNode也可以放在set()里1.2.set() 比list= [] 要快2.环监测算法slo..

2021-07-09 10:06:34 95

原创 7.7 review 7.6

【leetcode】566. reshape the matrixy%x 代表着对x求余y//x 代表着对x除,然后求整【uvm 网课】{factory 工厂机制}1.uvm_coreservice_t/uvm_factory 独立于uvm environment之外(这个class 的意义和应用?)2.后台利用工厂来进行创建create_component_by_name/type()create_object_by_type/name()create_compon

2021-07-07 10:21:27 85

原创 8.3 review

【leetcode】binary tree1.iteration2.recursive3.万事想想None实例1.Maximum Depth of Binary Tree要点:recursive2.Convert Sorted Array to Binary Search Tree要点:root.val=xxxxroot.left=TreeNode(0)root.right=TreeNode(0)这样return的root就会有...

2021-07-06 11:42:13 70

原创 8.1 review 2

1.draw 一个5 stage in-order pipeline 的图,并讲清楚!

2021-07-04 09:57:18 91

原创 8.1 review

【leetcode 658】solution:binary search+sliding window注意点:1.数组边界,上下都不要超过e.g:arr[p], while p>=0 and p<=len(arr)-12.binary search2.1:迭代的div:div=len(arr)/2 -->div=div/22.2: div=max(div/2,1),div要保证下边界为13.return 的数组arr[pl:pr] 返回的是 [...

2021-07-04 09:54:38 82

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除